Hi Bennett, I've encountered the same problem on Tiger using XCode 2.1 (which uses gcc 4.0.0). My solution was to build gcc 4.0.2 on macosx from the source and compile lyx-1.4.0cvs with it. With gcc 4.0.2 lyx compiles without problem on macosx.
I expect Apple upgrade to gcc4.0.2 on XCode 2.2. mit freundlichen Gruessen / Yours Armin Hammer > I've normally been compiling lyx-140 on Mac OS X with gcc 3.3 for > backwards compatibility, and everything works fine. However, looking > forward to supporting Intel-based Macs will require gcc-4.0. When I > try, however, I get the error copied below. > > Any suggestions on a fix? > > Thanks. > > Bennett > > ------------- > > Making all in insets > make all-am > source='ExternalTransforms.C' object='ExternalTransforms.lo' libtool=yes \ > depfile='.deps/ExternalTransforms.Plo' tmpdepfile='.deps/ > ExternalTransforms.TPlo' \ > depmode=gcc3 /bin/sh ../../config/depcomp \ > /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. - > I../../src -Winvalid-pch --include=./pch.h -I./.. -I../../boost - > Wextra -Wall -fno-exceptions -g -O3 -c -o ExternalTransforms.lo `test > -f 'ExternalTransforms.C' || echo './'`ExternalTransforms.C