#529 closed defect (fixed)
PS_NO_TRACE error
| Reported by: | Paul Price | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | sys | Version: | 0.7.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
In order to work around bug 524 (psTrace SEGV), I tried compiling with
-DPS_NO_TRACE. That produced several warnings of the sort:
In file included from
/home/mithrandir/price/pan-starrs/jhroot/i686-pc-linux-gnu/include/psMinimize.h:36,
from
/home/mithrandir/price/pan-starrs/jhroot/i686-pc-linux-gnu/include/pslib_strict.h:72,
from
/home/mithrandir/price/pan-starrs/jhroot/i686-pc-linux-gnu/include/pslib.h:19,
from pois.h:4,
from poisParseConfig.c:4:
/home/mithrandir/price/pan-starrs/jhroot/i686-pc-linux-gnu/include/psTrace.h:42:1:
warning: "psTraceSetDestination" redefined
/home/mithrandir/price/pan-starrs/jhroot/i686-pc-linux-gnu/include/psTrace.h:41:1:
warning: this is the location of the previous definition
This seems be due to multiple psTraceSetDestination definitions:
# define psTraceSetDestination(fp) /* do nothing */
# define psTraceSetDestination() /* do nothing */
Removing one of these lines fixes the problem.
Change History (5)
comment:1 by , 21 years ago
comment:2 by , 21 years ago
| Owner: | changed from to |
|---|
comment:3 by , 21 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |

Gene says the second one should be "Get" instead of "Set".