[Swan] Phasing out #ifdef DEBUG ?

D. Hugh Redelmeier hugh at mimosa.com
Sun Mar 17 05:32:02 EET 2013


| From: Paul Wouters <pwouters at redhat.com>

| text	   data	    bss	    dec	    hex	filename
| 832327	  82368	 124672	1039367	  fdc07 OBJ.linux.x86_64/programs/pluto/pluto
| 
| text	   data	    bss	    dec	    hex	filename
| 937621	  84408	 124672	1146701	 117f4d OBJ.linux.x86_64/programs/pluto/pluto
| 
| So about 10%

Of text section.  Others are not important.

Clearly nobody builds without DEBUG because the build doesn't work.
Not that it cannot be fixed, only that it is a proof that nobody
cares.

I kind of like the discipline of DEBUG but don't think that the memory
saving is worthwhile given the maintenance/testing costs.

Do any embedded folk care?  Are they likely to speak up?


More information about the Swan mailing list