Hello,
I'm been developing an application on SUSE 9.3, gcc 3.3.5 and within my
makefile I have the following for the CPPFLAGS "-g -O0" and the code
complied and linked fine.
I reached the end of the development and decided to up the optimisation so I
changed the line to "-O2" and removed the "-g". When I got the linking stage
I got the following error:
/usr/lib/gcc-lib/i586-suse-linux/3.3.5/../../../../i586-suse-linux/bin/ld:
`.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_jh'
referenced in section `.rodata' of sg_gui_export_dialog.o: defined in
discarded section
`.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_jh'
of sg_gui_export_dialog.o
For what I can figure out its complaining about boost. I got the above error
for 4 files and within all 4 files I use the "