
Hi Gennadiy ! On Monday 07 July 2008 18:39:15 Gennadiy Rozental wrote:
Juergen Hunold <juergen.hunold <at> ivembh.de> writes:
output_test_stream_test.cpp: In member function 'void test_constructor::test_method()': output_test_stream_test.cpp:30: error: ISO C++ forbids braced-groups within expressions
A-ha. No wonder no other compiler agreed to compile it ;)
*ouch* Well, gcc should report _way_ ealier, then :-((
I've disabled "return value support" locally (by commenting out test_tools.hpp line 86) but would like to have a conformant solution.
Didn't really find any alternatives. Have any suggestions?
No, I fear I'm missing the rationale and some background on this.
Can I keep it only in non-pedantic mode? Or is it going to go as well?
At least with gcc-4.2.3 (Kubuntu Hardy) it works. I'll check gcc-4.3.1 (OpenSuSE 10.3 repository upgrade) at work tomorrow. But given the fact that no other compiler did allow this, I would rather not have it in. With a better regression reporting system we could perhaps set up some "code testing" build-sandbox for testing "dark corner" code ;-)) And read "better" as "shorter response and turnaround time". Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold@ivembh.de ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !