fix for build on OpenBSD vax
Closed / Fixed3005233fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2010-05-21 10:28:01
tcl doesn't build on OpenBSD vax, due to the following error message when it compiles generic/tclStrToD.c: *unknown*:0: Warning: as: I don't understand 'k' flag. *unknown*:0: Warning: as: I don't understand 'K' flag. /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c: In function `TclParseNumber': /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:950: `sN' undeclared (first use in this function) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:950: (Each undeclared identifier is reported only once /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:950: for each function it appears in.) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:951: `sNA' undeclared (first use in this function) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:952: `sNANPAREN' undeclared (first use in this function) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:953: `sNANHEX' undeclared (first use in this function) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:1137: `sNAN' undeclared (first use in this function) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c:1138: `sNANFINISH' undeclared (first use in this function) /usr/ports/pobj/tcl-8.5.8/tcl8.5.8/unix/../generic/tclStrToD.c: At top level: appended patch fixes this problem for me.
buzzzzdeeeeplain2010-05-21 17:28:02
File Added - 374699: tclStrToD.c-vax
nijtmansplain2010-05-21 19:41:37
On platforms which apparently don't have NaN, yes, this is the way to fix it.
nijtmansplain2010-05-21 19:52:39
allow_comments - 1 Fixed on HEAD and 8.5 core branch
Log in (anonymous is fine) to add a comment.
Attachments:
- tclStrToD.c-vax [download] added by buzzzzdeeee on 2010-05-21 17:28:02. [details]