|
From: Chad P. <par...@gm...> - 2018-02-24 22:39:54
|
Fixed in 4.0.0
** Changed in: geda-project
Status: New => Fix Released
--
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:
Fix Released
Status in pcb:
Fix Released
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
|