Re: Turning Off Compiler Optimization in Subdir

2006-04-09 Thread Alexandre Duret-Lutz
| This is why I'd prefer to have some solution which turns off | optimization (probably based on a configure test) but only on that | one specific subdir. The rest of the library is optimized for speed, | but a few minor functions are affected. I could always overwrite CXXFLAGS in this Makef

Re: Turning Off Compiler Optimization in Subdir

2006-04-03 Thread Geoffrey Hutchison
On Apr 3, 2006, at 12:29 PM, Simon Richter wrote: Erm, does it affect all C++ compilers, or just specific ones? The latter, although it will probably take some time to figure out an appropriate test case, since it also seems to involve linking to certain versions of libxml2. I suppose i

Re: Turning Off Compiler Optimization in Subdir

2006-04-03 Thread Simon Richter
Hi, Geoffrey Hutchison schrieb: OK, my automake-driven project has managed to find a C++ compiler bug due to optimization. Fortunately, the problem is only in a few files in a subdir. Erm, does it affect all C++ compilers, or just specific ones? I suppose it is the latter only, so I'd sug

Turning Off Compiler Optimization in Subdir

2006-04-03 Thread Geoffrey Hutchison
Hi, OK, my automake-driven project has managed to find a C++ compiler bug due to optimization. Fortunately, the problem is only in a few files in a subdir. What I'd like to ensure is that compiler optimization is *not* used by default for this subdirectory. But if I set AM_CXXFLAGS (e.g.