Re: [Boost-bugs] [Boost C++ Libraries] #1711: Boost Serialization export facility broken on gcc 4.1, 4.2

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1711: Boost Serialization export facility broken on gcc 4.1, 4.2
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-03-28 23:55:08


#1711: Boost Serialization export facility broken on gcc 4.1, 4.2
--------------------------------------+-------------------------------------
  Reporter: sohail | Owner: ramey
      Type: Bugs | Status: new
 Milestone: Boost 1.35.0 | Component: serialization
   Version: Boost Development Trunk | Severity: Showstopper
Resolution: | Keywords:
--------------------------------------+-------------------------------------
Comment (by Sohail Somani <boost-trac_at_[hidden]>):

 Sorry my submit trigger finger went too early. Wow this is pretty messed
 up...
 {{{
 #!cpp
 // From the standard (section 14.6.7)
 #include <iostream>

 using namespace std;

 void f(char){cout << "f(char)" << endl;}
 template<class T> void g(T t)
 {
         f(1); // f(char)

         f(T(1)); // dependent
                               // dependent
         f(t);
 }

 void f(int){cout << "f(int)" << endl;}

 int main()
 {
                               // will cause one call of f(char) followed
         g(2); // by two calls of f(int)
                               // will cause three calls of f(char)
         g('a');
 }
 }}}
 {{{
 $ g++ /tmp/cpp.cpp -o /tmp/wtf_broken
 $ /tmp/wtf_broken
 f(char)
 f(char)
 f(char)
 f(char)
 f(char)
 f(char)
 $
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1711#comment:13>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC