2025-07-21 13:49 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003932Spring engineGeneralpublic2013-08-27 01:56
Reporterabma 
Assigned Toabma 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version94.1.1+git 
Target VersionFixed in Version 
Summary0003932: msvc compile error: 'strtof': identifier not found
Description8>..\..\Game\UI\SelectionKeyHandler.cpp(198): error C3861: 'strtof': identifier not found
Additional Informationhttp://springrts.com/phpbb/viewtopic.php?f=12&t=30787&p=546130#p546130
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0011300

abma (administrator)

https://github.com/spring/spring/blob/develop/rts/Game/UI/SelectionKeyHandler.cpp#L192

(no clue why line is different...)

~0011405

Kloot (developer)

std::strtof is in C99 which M$ doesn't bother to support.

Either std::strtod should be used or MSVC should be ignored entirely.

~0011430

abma (administrator)

if its few work i prefer fixing compile errors like these...

the more working compilers, the better! (but not at all costs)
+Notes

-Issue History
Date Modified Username Field Change
2013-08-12 13:50 abma New Issue
2013-08-12 16:36 abma Note Added: 0011300
2013-08-26 01:17 Kloot Note Added: 0011405
2013-08-27 01:43 abma Changeset attached => spring develop 4bd0e3d5
2013-08-27 01:43 abma Assigned To => abma
2013-08-27 01:43 abma Status new => resolved
2013-08-27 01:43 abma Resolution open => fixed
2013-08-27 01:56 abma Note Added: 0011430
+Issue History