Changeset 1438 for trunk/bindings


Ignore:
Timestamp:
28/02/10 07:33:49 (2 years ago)
Author:
Pedro.vicente
Message:

refs #205
disabled the declspec(dllexport) and declspec(dllexport) macros
eliminated NXnumtype getType(char number), it causes compiling errors due to NXnumtype getType(int8_t number)

tested : Visual Studio 2008, Linux 2.6.18 x86_64 with gcc 4.1.2

Location:
trunk/bindings/cpp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bindings/cpp/NeXusFile.cpp

    r1379 r1438  
    4141  } 
    4242 
     43  /* 
    4344  template<> 
    4445  NXDLL_EXPORT NXnumtype getType(char number) { 
     
    4748    throw Exception(msg.str()); 
    4849  } 
     50  */ 
    4951 
    5052  // template specialisations for types we know  
  • trunk/bindings/cpp/NeXusFile.hpp

    r1375 r1438  
    99 
    1010#ifdef _WIN32 
     11 
     12#ifdef _MSC_VER  
     13#  define NXDLL_EXPORT 
     14#else 
    1115#  if IN_NEXUS_CPP_LIBRARY 
    1216#    define NXDLL_EXPORT __declspec(dllexport) 
     
    1418#    define NXDLL_EXPORT __declspec(dllimport) 
    1519#  endif 
    16 #else 
     20#endif /* _MSC_VER */ 
     21 
     22#else /* _WIN32 */ 
    1723#  define NXDLL_EXPORT  
    1824#endif /* _WIN32 */ 
Note: See TracChangeset for help on using the changeset viewer.