Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000454graphvizBuild/Installpublic2004-08-12 06:442011-04-28 04:02
ReporterJonah Beckford 
Assigned Toellson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-Other-CygwinOS Version
Summary0000454: HUGE instead of MAXFLOAT
Description



Built on cygwin with the following:
<CD>
./configure && make



Got the following error:



gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../graph -I../../agraph -I../../cdt -I../../pathplan -I../../dotneato/pack -I../../dotneato/neatogen -I../../dotneato/gvrender -I../../dotneato/common -I/usr/local/include -g -O2 -Wall -Wno-unknown-pragmas -c `test -f dijkstra.c || echo './'`dijkstra.c
dijkstra.c: In function `queue_nodes':
dijkstra.c:88: error: `HUGE' undeclared (first use in this function)
dijkstra.c:88: error: (Each undeclared identifier is reported only once
dijkstra.c:88: error: for each function it appears in.)



The fix is in the "Fix" section.
</CD>
Additional Information

This is bug 493
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT 
I changed the dijkstra.c line:

#define BIG HUGE /* ha */

to:

#define BIG MAXFLOAT /* ha */

I got this more portable fix from http://www.cygwin.com/ml/cygwin/2003-09/msg00406.html [^]

Semantically, it seems you wanted MAXFLOAT instead of HUGE anyw
FORMER-ID509
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed
VERSION     1.12
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:02 user1 New Issue
2011-04-28 04:02 user1 Assigned To => user695


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker