[Vala] RE : forward déclaration
- From: PICCA Frédéric-Emmanuel <frederic-emmanuel picca synchrotron-soleil fr>
- To: "Vlad Grecescu" <b100dian gmail com>
- Cc: vala-list gnome org
- Subject: [Vala] RE : forward déclaration
- Date: Fri, 1 Aug 2008 18:33:18 +0200
IIRC, if you write the two files (lets say Hkl/Vector.vala and
Hkl/Matrix.vala) without any "forward references"(not possible), then
compile them in the same command
$ valac -c Vector.vala Matrix.vala
the compiler automatically finds cross references (like, it does the
parsing of both files before the symbol analysis).
Hello,
thanks but in fact I am building a library so I use vala to generate the .c and .h files
$ valac -C Vector.vala Matrix.vala
then valac segfault. I supposed because of this forward declaration.
If I puth everythings in one file it is ok
Frederic
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]