#17 Compilation under Solaris SunOS 5.9 improvment

closed
None
5
2008-07-15
2007-11-27
No

Hello guys, I've just found that SunOS 5.9 misses stdint.h, that you use in SmartPtr.h. Here is the patch for it:

*** SmartPtr.h.old Tue Nov 27 12:01:27 2007
--- SmartPtr.h Tue Nov 27 12:05:43 2007
***************
*** 42,48 ****
#include <string>

#if !defined(_MSC_VER)
! #include <stdint.h>
#endif

#if defined(_MSC_VER) || defined(__GNUC__)
--- 42,52 ----
#include <string>

#if !defined(_MSC_VER)
! #if defined(__sparc__)
! #include <inttypes.h>
! #else
! #include <stdint.h>
! #endif
#endif

#if defined(_MSC_VER) || defined(__GNUC__)

Discussion

  • Peter Kuemmel

    Peter Kuemmel - 2008-07-15

    Logged In: YES
    user_id=1159765
    Originator: NO

    commited

     
  • Peter Kuemmel

    Peter Kuemmel - 2008-07-15
    • milestone: 129633 -->
    • assigned_to: nobody --> syntheticpp
    • status: open --> closed
     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks