[Boost-bugs] [ boost-Bugs-1274839 ] bind/placeholders.hpp breaks GCC 3.4 + precompiled headers

Bugs item #1274839, was opened at 2005-08-27 18:04 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1274839&group_id=7586 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: functional Group: None Status: Open Resolution: None Priority: 5 Submitted By: Matthew Gruenke (mgruenke) Assigned to: Mark Rodgers (mark_rodgers) Summary: bind/placeholders.hpp breaks GCC 3.4 + precompiled headers Initial Comment: Like a number of other compilers, GCC (version 3.4.3) appears to have problems related to precompiled headers that contain anonymous namespaces - such as the one in bind/placeholders.hpp. There seems to be some consensus that it currently does have issues in this area (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10591). I noticed the workarounds in bind/placeholders.hpp (Boost version 1.33.0) for other compilers, and tried them with the above version of GCC. I discovered that only the work-around using static inline wrapper functions (i.e. the one for Borland compilers) seems to work. I've only encountered this problem in bind/placeholders.hpp. However, this problem could presumably exist anywhere anonymous/unnamed namespaces are used. This seems to be a one-line fix. I'll submit a patch file, separately. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1274839&group_id=7586 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Boost-bugs mailing list Boost-bugs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/boost-bugs
participants (1)
-
SourceForge.net