| 
 | 
| 
Back
Midas
Rome
Roody
Rootana
 | 
|   Midas DAQ System  | 
Not logged in | 
  | 
   | 
   22 Sep 2020, Frederik Wauters, Forum, INT INT32 in experim.h 
 |     
   22 Sep 2020, Konstantin Olchanski, Forum, INT INT32 in experim.h 
 |        
   09 Mar 2021, Andreas Suter, Forum, INT INT32 in experim.h 
 |           
   10 Mar 2021, Stefan Ritt, Forum, INT INT32 in experim.h 
 |              
   15 Mar 2021, Frederik Wauters, Forum, INT INT32 in experim.h 
 |                 
   30 Mar 2021, Konstantin Olchanski, Forum, INT INT32 in experim.h 
 |   
 | 
| 
Message ID: 2131
    Entry time: 15 Mar 2021
    In reply to: 2127
    Reply to this: 2139
 |  
| Author: | 
Frederik Wauters  | 
 | Topic: | 
Forum  | 
 | Subject: | 
INT INT32 in experim.h  | 
 
  |  
 
 | 
works!
> Ok, I added
> 
> /* define integer types with explicit widths */
> #ifndef NO_INT_TYPES_DEFINE
> typedef unsigned char      UINT8;
> typedef char               INT8;
> typedef unsigned short     UINT16;
> typedef short              INT16;
> typedef unsigned int       UINT32;
> typedef int                INT32;
> typedef unsigned long long UINT64;
> typedef long long          INT64;
> #endif
> 
> to cover all new types. If there is a collision with user defined types, compile your program with -DNO_INT_TYPES_DEFINE and you remove the 
> above definition. I hope there are no other conflicts.
> 
> Stefan  |