To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=57410
                  Issue #:|57410
                  Summary:|Use -fno-use-cxa-atexit for C++ code only
                Component:|porting
                  Version:|OOo 2.0
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|pjanik
              Reported by:|pjanik





------- Additional comments from [EMAIL PROTECTED] Sat Nov  5 14:44:14 -0800 
2005 -------
On AMD64, do not use this option in ARCH_FLAGS, but for C++ only, because 
otherwise:

1. you'll se zillions of warnings like

cc1: warning: command line option "-fno-use-cxa-atexit" is valid for C++/ObjC++
but not for C

2. e.g. berkeleydb won't be compiled. Its configure s checking for -fPIC with
this option and it get warning -> it will disable -fPIC which is bad for shared
library ;-)

I'll move it to CFLAGSCXX.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to