From: Bert T. <10...@bu...> - 2016-11-27 20:39:35
|
Hi Chad, Merged and pushed to master. Thanks and kind regards, Bert Timmerman. ** Changed in: pcb Importance: Undecided => Low ** Changed in: pcb Status: New => Fix Committed ** Changed in: pcb Assignee: (unassigned) => Bert Timmerman (bert-timmerman) ** Changed in: pcb Milestone: None => next-bug-release -- 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 gEDA project: New Status in pcb: Fix Committed 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/geda-project/+bug/1005137/+subscriptions |