[M3commit] CVS Update: cm3

Tony Hosking hosking at cs.purdue.edu
Tue Mar 3 23:54:00 CET 2009


You should use static for all non-externals (private) symbols to avoid  
pollution of the global namespace.

On 3 Mar 2009, at 22:08, Jay Krell wrote:

> CVSROOT:	/usr/cvs
> Changes by:	jkrell at birch.	09/03/03 22:08:50
>
> Modified files:
> 	cm3/m3-libs/m3core/src/runtime/POSIX/: RTSignalC.c
>
> Log message:
> 	adapt for MacOSX 10.4 simply by putting static on a variable
> 	otherwise:
> 	--- building in PPC_DARWIN ---
> 	-> archiving libm3core.a
> 	ld: common symbols not allowed with MH_DYLIB output format with the  
> -multi_module option
> 	RTSignalC.o definition of common _RTSignalCPrivate_InitialHandlers  
> (size 84)
> 	/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link  
> edit command failed
> 	make_lib => 256




More information about the M3commit mailing list