bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: flexlexer.h include path


From: Han-Wen Nienhuys
Subject: Re: flexlexer.h include path
Date: Mon, 06 Jun 2005 17:57:21 +0200
User-agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513)

Werner Scheinast wrote:
Am 03.06.05 schrieb Han-WenNienhuys:


Werner Scheinast wrote:

In fact, when I delete FlexLexer.h and lexer.cc in lily/out/ before the build, it works with the first attempt. Therefore my question:
Are these files needed for anything?

Yes, they are there for all those people that have old Flex versions, which will break lilypond compiles. What you have, is the FlexLexer.h from my system (as I build the tarballs). What puzzles me is that I can compile it (I use g++ 3.4) but you can't. Can you send me the output of

  g++ -E


I uploaded the output of ...

g++ -E -DHAVE_CONFIG_H -DNDEBUG -DSTRING_UTILS_INLINED -Iinclude -I./out -I../flower/include -I../flower/./out -I../ttftool/include -I/usr/include/python2.3 -I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -O2 includable-lexer.cc >preprocessed

... to the address
http://www.scheinast.homepage.t-online.de/preprocessed

Without the -E option, the same command would reproduce the error.

Apparently, there is a incompatibilities RH and Suse in both directions.
I get.    I think I will stop distributing flex output again.

n file included from /usr/include/g++/bits/basic_ios.h:44,
                 from /usr/include/g++/ios:51,
                 from /usr/include/g++/ostream:45,
                 from /usr/include/g++/iostream:45,
                 from out/FlexLexer.h:47,
                 from include/includable-lexer.hh:14,
                 from includable-lexer.cc:9:
/usr/include/g++/bits/locale_facets.h: In constructor `std::numpunct_byname<_CharT>::numpunct_byname(const char*, size_t)': /usr/include/g++/bits/locale_facets.h:696: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available /usr/include/g++/bits/locale_facets.h:696: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/include/g++/bits/locale_facets.h:697: error: there are no arguments to `_M_initialize_numpunct' that depend on a template parameter, so a declaration of `_M_initialize_numpunct' must be available /usr/include/g++/bits/locale_facets.h: In destructor `virtual std::numpunct_byname<_CharT>::~numpunct_byname()': /usr/include/g++/bits/locale_facets.h:703: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration




--
 Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]