Tcl Source Code

View Ticket
Login
Ticket UUID: 3005233
Title: fix for build on OpenBSD vax
Type: Bug Version: obsolete: 8.5.8
Submitter: buzzzzdeeee Created on: 2010-05-21 10:28:01
Subsystem: 48. Number Handling Assigned To: nijtmans
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2010-05-21 19:52:39
Resolution: Fixed Closed By: nijtmans
    Closed on: 2010-05-21 12:52:39
Description:
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.
User Comments: nijtmans added on 2010-05-21 19:52:39:

allow_comments - 1

Fixed on HEAD and 8.5 core branch

nijtmans added on 2010-05-21 19:41:37:
On platforms which apparently don't have NaN, yes, this is the way to fix it.

buzzzzdeeee added on 2010-05-21 17:28:02:

File Added - 374699: tclStrToD.c-vax

Attachments: