From: Jeff M. <jj...@co...> - 2012-05-27 11:35:39
|
Public bug reported: I used the following to configure for a debug build with the DEBUG constant defined: CFLAGS=-DDEBUG=1 ./configure --prefix=$HOME/inst/pcb --disable-gl --enable-debug After that, a "make" failed with a few compile errors. I made the following minimal changes to get the compiles to work: boolean.c -- Disabled the compilation of unused functions by changing "#ifdef DEBUG"s to "#ifdef DEBUG_UNUSED"s. edif.y -- Fixed a forward reference problem by moving definitions of "Parser state variables" to just before a function referencing some of them. Also updated some old defined constant names. gcode.c -- Added "#include <locale.h>". ** Affects: pcb Importance: Undecided Status: New -- You received this bug notification because you are a member of PCB Bug Team, which is subscribed to pcb. https://bugs.launchpad.net/bugs/1005137 Title: Build fails when DEBUG constant defined. Status in PCB: Printed Circuit Board CAD package: New Bug description: I used the following to configure for a debug build with the DEBUG constant defined: CFLAGS=-DDEBUG=1 ./configure --prefix=$HOME/inst/pcb --disable-gl --enable-debug After that, a "make" failed with a few compile errors. I made the following minimal changes to get the compiles to work: boolean.c -- Disabled the compilation of unused functions by changing "#ifdef DEBUG"s to "#ifdef DEBUG_UNUSED"s. edif.y -- Fixed a forward reference problem by moving definitions of "Parser state variables" to just before a function referencing some of them. Also updated some old defined constant names. gcode.c -- Added "#include <locale.h>". To manage notifications about this bug go to: https://bugs.launchpad.net/pcb/+bug/1005137/+subscriptions |