
On Sun, Nov 28, 2004 at 11:03:43PM +0100, JOAQUIN LOPEZ MU?Z wrote:
Allow me to repost this, since seems it has gone thru the list indavertently. I'd be grateful if people with various versions of GCC can try the snippet so as to determine to which extent the problem shows.
Original post follows:
The following program:
#include <boost/aligned_storage.hpp>
struct foo { foo(int x){}
private: boost::aligned_storage<sizeof(int)> a; };
int main() { foo f(5);
return 0; }
fails in GCC 3.2 20020927 with the error:
[...] Your program compiles fine here with g++ 3.2.3, 3.3.1, and 3.4.2. If the bug was indeed fixed within the 3.2 release series then it is likely it was a regression. But I don't have gcc 3.0 and 3.1 installed anymore so I cannot test those compilers. Christoph -- http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/cludwig.html LiDIA: http://www.informatik.tu-darmstadt.de/TI/LiDIA/Welcome.html