Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#49 FreeBSD Compile Fail

closed
nobody
None
5
2012-06-25
2012-06-20
Chris Larsen
No

Build fails on FreeBSD because snprintf isn't a member of std. Super easy fix:

NumberToString.h
144c144
< std::snprintf(num_str_result, 63, FLOAT_STRING, (EXTRA_LONG double)value);
---
> snprintf(num_str_result, 63, FLOAT_STRING, (EXTRA_LONG double)value);

Discussion

  • Chris Larsen
    Chris Larsen
    2012-06-20

    Oh and quick note, tested on Windows under MINGw, Ubuntu 10.4 and FreeBSD 8.2

     
  • Fixed.

     
    • status: open --> closed