Greg Landrum wrote:
That's very peculiar. There is a #define in the Jamfile
(-DYY_NO_UNISTD_H) that's intended to prevent this from happening.
From  your logfile, it looks like this *is* defined, but the file
generated by flex no longer recognizes it. Can you please :
 - take a look at
GraphMol\SmilesParse\bin\msvc-9.0express\release\link-static\threading-multi\lex.yysmiles.cpp
to see if there is some kind of #ifdef structure around the include of
unistd.h
unistd.h is included if __cplusplus is defined. There doesn't appear to be any other ifdefs around there. That file contains no mention of DYY_NO_UNISTD_H at all.
 - tell me which version of flex and bison you are using (and where they came 
from).
They came from the gnuwin32 sourceforge site: http://gnuwin32.sourceforge.net/packages.html

I used the binary installers, bison version 2.4.1 and flex 2.4.4a. If I had to guess it looks much more likely be bison, it has been updated recently whereas flex has been the same since 2004.

Cheers,

Pete

Reply via email to