From: Marcelo M. <mm...@ac...> - 2006-03-22 08:18:39
|
try it now using swig-CVS. too bad the fix just missed 1.3.29. Marcelo Wes Hodges wrote: > i think a few people have seen this SWIG error. i've gotten it using > both swigwin 1.3.28 and 1.3.29, but not 1.3.27, and i just figured out > where it's coming from (my apologies if someone's already pointed it > out). basically, if a header file i'm including doesn't end in a > newline character, i'll see this error. take the following headers > for example (with newlines shown as '\n'): > > // file1.h > > #ifndef __FILE1_H__\n > #define __FILE1_H__\n > <class declaration>\n > #endif\n > > // file2.h > > #ifndef __FILE2_H__\n > #define __FILE2_H__\n > <class declaration>\n > #endif > > if i try to SWIG these, file2.h will fail with the message > "file2.h(999999): Error: Missing #endif for conditional starting on > line 1". > > hope that helps. > > Wes > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Swig-user mailing list > Swi...@li... > https://lists.sourceforge.net/lists/listinfo/swig-user |