[ 
https://issues.apache.org/jira/browse/STDCXX-387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487421
 ] 

Martin Sebor commented on STDCXX-387:
-------------------------------------

Confirmed -- reproduced with gcc 3.4.4 on FreeBSD 6.1:

$ gmake -C../lib
gmake: Entering directory 
`/house/sebor/build/stdcxx-2007-03-30-r524321-freebsd-6.1-ia64-gcc-3.4.4-11s/lib'
gcc -c -I/house/sebor/stdcxx-2007-03-30-r524321/include/ansi -D_RWSTDDEBUG    
-I/house/sebor/stdcxx-2007-03-30-r524321/include 
-I/house/sebor/build/stdcxx-2007-03-30-r524321-freebsd-6.1-ia64-gcc-3.4.4-11s/include
  -pedantic -nostdinc++ -g   -W -Wall -Wcast-qual -Winline -Wshadow 
-Wwrite-strings -Wno-long-long -Wcast-align    
/house/sebor/stdcxx-2007-03-30-r524321/src/time_put.cpp
/house/sebor/stdcxx-2007-03-30-r524321/src/time_put.cpp: In function `int 
__rw::__rw_get_zone(__rw::__rw_time_put_data&, const char*, int)':
/house/sebor/stdcxx-2007-03-30-r524321/src/time_put.cpp:2069: error: `daylight' 
undeclared (first use this function)
/house/sebor/stdcxx-2007-03-30-r524321/src/time_put.cpp:2069: error: (Each 
undeclared identifier is reported only once for each function it appears in.)
gmake: *** [time_put.o] Error 1
gmake: Leaving directory 
`/house/sebor/build/stdcxx-2007-03-30-r524321-freebsd-6.1-ia64-gcc-3.4.4-11s/lib'


> [FreeBSD] error on daylight in time_put.cpp
> -------------------------------------------
>
>                 Key: STDCXX-387
>                 URL: https://issues.apache.org/jira/browse/STDCXX-387
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.1.3
>         Environment: FreeBSD 6.1
>            Reporter: Martin Sebor
>         Assigned To: Martin Sebor
>            Priority: Critical
>             Fix For: 4.2
>
>
> The library fails to build on FreeBSD because of a reference to the XSI POSIX 
> extension 'dayligh' in time_put.cpp. See this post:
> http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-user/200703.mbox/[EMAIL
>  PROTECTED]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to