[Log4cplus-devel] [log4cplus:bugs] #336 Build error on Solaris Sparc under gcc - constructor priori
Logging Framework for C++
Brought to you by:
wilx
From: Václav H. <wi...@us...> - 2017-01-29 21:32:13
|
- **status**: open --> closed - **assigned_to**: Václav Haisman --- ** [bugs:#336] Build error on Solaris Sparc under gcc - constructor priorities are not supported** **Status:** closed **Group:** v1.1.3 **Created:** Fri Sep 30, 2016 05:54 PM UTC by Jon Harvie **Last Updated:** Sun Jan 29, 2017 09:31 PM UTC **Owner:** Václav Haisman Release 1.1.3-RC7 fails to build on Solaris Sparc with gcc 4.9.2 due to the following error. ``` In file included from global-init.cxx:21:0: ../include/log4cplus/config.hxx:150:46: error: constructor priorities are not supported __attribute__ ((__constructor__ ((prio)))) ^ global-init.cxx:608:5: note: in expansion of macro 'LOG4CPLUS_CONSTRUCTOR_FUNC' LOG4CPLUS_CONSTRUCTOR_FUNC (LOG4CPLUS_INIT_PRIORITY_BASE); ^ ``` It appears that the configure scripts and macros are assuming that if the GCC constructor attribute is supported then construction priority is also supported. --- Sent from sourceforge.net because log...@li... is subscribed to https://sourceforge.net/p/log4cplus/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/log4cplus/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |