Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-05-21
19:52 • Closed ticket [3005233fff]: fix for build on OpenBSD vax plus 8 other change... artifact: c7edb65495 user: nijtmans
19:41 • Ticket [3005233fff]: 6 changes artifact: a2e37377db user: nijtmans
17:28 • Ticket [3005233fff]: 4 changes artifact: 258c9b71d3 user: buzzzzdeeee
17:28 • Add attachment tclStrToD.c-vax to ticket [3005233fff] artifact: c3c3af64e5 user: buzzzzdeeee
10:28 • New ticket [3005233fff] fix for build on OpenBSD vax. artifact: 90ed64465b user: buzzzzdeeee

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: