GNU bug report logs -
#14495
unistd.h problem in t/lex-header.sh
Previous Next
Reported by: Peter Rosin <peda <at> lysator.liu.se>
Date: Wed, 29 May 2013 00:11:01 UTC
Severity: minor
Tags: patch
Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi!
When t/lex-header.sh tries to compile main.c on the master branch, it fails
like this snippet below, since MSVC does not have unistd.h. I suppose main.c
should add
#define YY_NO_UNISTD_H 1
before it includes mylex.h? Or is this something else? I know very little
about lexers...
Cheers,
Peter
log snippet follows:
source='main.c' object='main.obj' libtool=no \
DEPDIR=.deps depmode=msvc7msys /bin/sh ./depcomp \
/home/peda/automake/lib/compile cl -nologo -DPACKAGE_NAME=\"lex-header\" -DPACKAGE_TARNAME=\"lex-header\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"lex-header\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"lex-header\" -DVERSION=\"1.0\" -I. -c -o main.obj $(echo main.c)
main.c
mylex.h(228) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
make[1]: *** [main.obj] Error 2
This bug report was last modified 12 years and 49 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.