|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
help build stdcxx on BSDHello,
I try to build stdcxx on a BSD system but there is a problem in time_put.cpp. Can someone help? Thank you! David gcc -c -I/house/zhang/stdcxx/include/ansi -D_RWSTDDEBUG -I/house/zhang/stdcxx/include -I/house/zhang/build/stdcxx-debug/include -pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align /house/zhang/stdcxx/src/time_put.cpp /house/zhang/stdcxx/src/time_put.cpp: In function `int __rw::__rw_get_zone(__rw::__rw_time_put_data&, const char*, int)': /house/zhang/stdcxx/src/time_put.cpp:2069: error: `daylight' undeclared (first use this function) /house/zhang/stdcxx/src/time_put.cpp:2069: error: (Each undeclared identifier is reported only once for each function it appears in.) gmake[2]: *** [time_put.o] Error 1 gmake[2]: Leaving directory `/house/zhang/build/stdcxx-debug/lib' gmake[1]: *** [lib] Error 2 gmake[1]: Leaving directory `/house/zhang/build/stdcxx-debug' gmake: *** [libstd] Error 2 ____________________________________________________________________________________ TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. http://tv.yahoo.com/ |
|
|
Re: help build stdcxx on BSDDavid Zhang wrote:
> Hello, > > I try to build stdcxx on a BSD system but there is a problem in time_put.cpp. Can someone help? Sorry about the delay getting back to you on this. I reproduced this problem on FreeBSD 6.1. The daylight variable is an (optional) XSI POSIX extension that's not defined on FreeBSD. I filed an issue for you: https://issues.apache.org/jira/browse/STDCXX-387. Keep an eye on if for patches. Martin > > Thank you! > David > > gcc -c -I/house/zhang/stdcxx/include/ansi -D_RWSTDDEBUG -I/house/zhang/stdcxx/include > -I/house/zhang/build/stdcxx-debug/include -pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow > -Wwrite-strings -Wno-long-long -Wcast-align /house/zhang/stdcxx/src/time_put.cpp > /house/zhang/stdcxx/src/time_put.cpp: In function `int __rw::__rw_get_zone(__rw::__rw_time_put_data&, const char*, int)': > /house/zhang/stdcxx/src/time_put.cpp:2069: error: > `daylight' undeclared (first use this function) > /house/zhang/stdcxx/src/time_put.cpp:2069: error: > (Each undeclared identifier is reported only once for each function it > appears in.) > gmake[2]: *** [time_put.o] Error 1 > gmake[2]: Leaving directory > `/house/zhang/build/stdcxx-debug/lib' > gmake[1]: *** [lib] Error 2 > gmake[1]: Leaving directory > `/house/zhang/build/stdcxx-debug' > gmake: *** [libstd] Error 2 > > > > > ____________________________________________________________________________________ > TV dinner still cooling? > Check out "Tonight's Picks" on Yahoo! TV. > http://tv.yahoo.com/ |
| Free embeddable forum powered by Nabble | Forum Help |