File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3232#include  <Rconfig.h>  /* for HAVE_ENUM_BASE_TYPE */ 
3333/* 
3434  Setting the underlying aka base type is supported in C23, C++11  
35-   and some C compilers based on clang. 
35+   and some C compilers based on clang and some versions of GCC . 
3636  What matters here is the C compiler used to build R. 
3737 */ 
3838#ifdef   __cplusplus 
3939extern  "C"  {
4040#endif 
4141#ifdef  HAVE_ENUM_BASE_TYPE 
4242// Apple clang warns even in C23 mode: gcc warns about #pragma clang 
43- // LLVM clang no linger  warns: we have no good way to filter Apple clang. 
43+ // LLVM clang no longer  warns: we have no good way to filter Apple clang. 
4444# if  defined  __APPLE__  &&  defined __clang__ 
4545#  pragma  clang diagnostic push
4646#  pragma  clang diagnostic ignored "-Wfixed-enum-extension"
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments