Boost logo

Boost :

From: Ralf W. Grosse-Kunstleve (rwgk_at_[hidden])
Date: 2004-08-27 18:11:27


--- Markus_Schöpflin <markus.schoepflin_at_[hidden]> wrote:
> As a side note. Do you also get the following warnings when compiling
> boost.python for this platform on each and every file:
>
> cxx: Warning:
> /net/camos/opt/exec/OSF1-V5.1-alpha/include/python2.3/pyconfig.h, line 840:
> #47-D
> incompatible redefinition of macro "_OSF_SOURCE" (declared at line
> 223 of "/usr/include/standards.h")
> #define _OSF_SOURCE 1
> --------^
> cxx: Warning:
> /net/camos/opt/exec/OSF1-V5.1-alpha/include/python2.3/pyconfig.h, line 847:
> #47-D
> incompatible redefinition of macro "_POSIX_C_SOURCE" (declared at
> line 213 of "/usr/include/standards.h")
> #define _POSIX_C_SOURCE 200112L
> --------^
> cxx: Warning:
> /net/camos/opt/exec/OSF1-V5.1-alpha/include/python2.3/pyconfig.h, line 859:
> #47-D
> incompatible redefinition of macro "_XOPEN_SOURCE" (declared at
> line
> 203 of "/usr/include/standards.h")
> #define _XOPEN_SOURCE 600
> --------^

No. I just checked out the very latest Boost CVS (ca. 3pm PDT) and all of
Boost.Python (library and tests) compiles without showing your warnings above.
I just get two different, short warnings. My compile flags are:

cxx -model ansi -std strict_ansi -msg_display_number -msg_disable 186,450,1115
-tlocal -DNDEBUG -O2 -fast

Linking:

cxx -model ansi -shared -expect_unresolved 'Py*' -expect_unresolved '_Py*'

Ralf

                
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk