#49 FreeBSD Compile Fail

closed
nobody
None
5
2012-06-25
2012-06-20
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

     
  • Jonathan Wallace

    Fixed.

     
  • Jonathan Wallace

    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks