Build fails when DEBUG constant defined.
Bug #1005137 reported by
Jeff Mallatt
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcb |
Fix Released
|
Low
|
Bert Timmerman |
Bug Description
I used the following to configure for a debug build with the DEBUG constant defined:
CFLAGS=-DDEBUG=1 ./configure --prefix=
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>".
Changed in geda-project: | |
importance: | Undecided → Medium |
Changed in pcb: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
After many changes to gcode.c, make sure this patch still applies.
New patch against latest repository attached.