Show
Ignore:
Timestamp:
03/27/10 23:15:07 (3 years ago)
Author:
saturday06
Message:

moudamepowwwwwwwwwwwwwwwwwwwwwww

Location:
lang/objective-cplusplus/i3/trunk/src
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • lang/objective-cplusplus/i3/trunk/src/Main.cpp

    r37057 r37099  
    1515    using namespace i3; 
    1616 
    17     [NSException raise:@"foo" format:@"bar"]; 
     17    //[NSException raise:@"foo" format:@"bar"]; 
    1818 
    1919    int exit_status = EXIT_FAILURE; 
  • lang/objective-cplusplus/i3/trunk/src/mil/include/mil/Environment.h

    r37034 r37099  
    44 
    55#ifdef HAVE_CONFIG_H 
    6 #include <config.h> 
     6#  ifdef MIL_CONFIG_H_INCLUDED 
     7#    error config.h is already included 
     8#  endif 
     9#  include <config.h> 
    710#endif 
    811 
     
    3437#endif 
    3538 
     39#if defined(_MSC_VER) && !defined(ENABLE_NLS) 
     40#define ENABLE_NLS 1 
     41#endif 
     42 
  • lang/objective-cplusplus/i3/trunk/src/mil/include/mil/Intl.h

    r37056 r37099  
    77#ifdef ENABLE_NLS 
    88#  include <libintl.h> 
    9 // XXX XXX XXX 
     9// XXX XXX XXX disable POSIX/XSI format strings 
     10// it causes undefined reference __libintl_*printf error 
    1011#  undef printf 
    1112#  undef asprintf 
  • lang/objective-cplusplus/i3/trunk/src/os-windows/Os.h

    r36430 r37099  
    33#include "WindowsCommon.h" 
    44 
     5#include <mil/Intl.h> 
     6 
    57#if defined(ENABLE_NLS) && defined(UNICODE) 
    68#include "wlibintl.h" 
    79#endif 
    8  
    9 // disable POSIX/XSI format strings 
    10 #undef fprintf 
    11 #undef vfprintf 
    12 #undef printf 
    13 #undef vprintf 
    14 #undef sprintf 
    15 #undef vsprintf 
    16 #undef snprintf 
    17 #undef vsnprintf 
    1810 
    1911namespace i3 {