stdcxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <mse...@gmail.com>
Subject Re: help build stdcxx on BSD
Date Sun, 08 Apr 2007 01:09:16 GMT
David 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/


Mime
View raw message