On Tue, Jul 11, 2000 at 07:48:33PM -0400, Chris D. Faulhaber wrote:
> While porting another program, I found the following:
> Using the default CXXFLAGS (-O -pipe):
> $ g++  -O -pipe ud2cd.cc -o ud2cd

I don't believe this... (*sigh*).  Remove the "-O" and it compiles fine
on both -CURRENT and a 4-STABLE box before the Assember / Linker upgrade.

Use ``g++ -Wall'' and ``g++ -O -Wall'' on the first (that works) you are
given two warnings about the code.  With "-O" you only get one of the
warnings (and bad linking).  The only difference is in the call to to
``cpp'' in which which "-O" causes "-D__OPTIMIZE__" (use ``g++ -v'' to
see this).

-- 
-- David  ([EMAIL PROTECTED])


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to