This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I got gcc-3.3 + glibc-2.2.5 to build (yay!), but compiling a trivial c++ program fails with $PREFIX/include/c++/3.3/cstdio:168: error: `vfscanf' not declared
Turns out this was reported once before in gcc-3.0; see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3774 which says This problem can be avoided by adding -D_ISOC9X_SOURCE to the flags passed to g++. If _ISOC9X_SOURCE is not defined, required portions of some header files are omitted. Sure enough, defining that flag lets me compile programs.
Sorry for spamming the list with soooo many problems (some of them lame). To make it up, I'll try to post my update of Bill's scripts tonight. - Dan
-- Dan Kegel http://www.kegel.com http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |