Greetings,
When I compile a ROOT macro on my new Macbook Pro using ROOT 3.32.02 using ALciC I see the following
In file included from /Users/Mike/root/include/G__ci.h:1621:
/Users/Mike/root/include/G__ci_fproto.h:87:27: warning: 'G__string2type_body' has C-linkage specified,
but returns user-defined type 'G__value' which is incompatible with C [-Wreturn-type-c-linkage]
G__DECL_API(31, G__value, G__string2type_body, (G__CONST char *typenamin,int noerror))
^
/Users/Mike/root/include/G__ci.h:1613:18: note: expanded from macro 'G__DECL_API'
G__EXPORT RET NAME ARGS ; G__DUMMYTOCHECKFORDUPLICATES(IDX)
^
In file included from /Volumes/Mac_Storage/Work_Data/DALITZ_SIMULATION/PI0_ACCEPTANCE/PHASE_SPACE_SIM/Phase_Space_Acceptance_C_ACLiC_dict.cxx:17:
In file included from /Volumes/Mac_Storage/Work_Data/DALITZ_SIMULATION/PI0_ACCEPTANCE/PHASE_SPACE_SIM/Phase_Space_Acceptance_C_ACLiC_dict.h:18:
In file included from /Users/Mike/root/include/G__ci.h:1621:
/Users/Mike/root/include/G__ci_fproto.h:88:27: warning: 'G__string2type' has C-linkage specified, but
returns user-defined type 'G__value' which is incompatible with C [-Wreturn-type-c-linkage]
G__DECL_API(32, G__value, G__string2type, (G__CONST char *typenamin))
^
/Users/Mike/root/include/G__ci.h:1613:18: note: expanded from macro 'G__DECL_API'
G__EXPORT RET NAME ARGS ; G__DUMMYTOCHECKFORDUPLICATES(IDX)
^
In file included from /Volumes/Mac_Storage/Work_Data/DALITZ_SIMULATION/PI0_ACCEPTANCE/PHASE_SPACE_SIM/Phase_Space_Acceptance_C_ACLiC_dict.cxx:17:
In file included from /Volumes/Mac_Storage/Work_Data/DALITZ_SIMULATION/PI0_ACCEPTANCE/PHASE_SPACE_SIM/Phase_Space_Acceptance_C_ACLiC_dict.h:18:
In file included from /Users/Mike/root/include/G__ci.h:1621:
/Users/Mike/root/include/G__ci_fproto.h:213:28: warning: 'G__calc' has C-linkage specified, but returns
user-defined type 'G__value' which is incompatible with C [-Wreturn-type-c-linkage]
G__DECL_API(115, G__value, G__calc, (G__CONST char *expr))
^
/Users/Mike/root/include/G__ci.h:1613:18: note: expanded from macro 'G__DECL_API'
G__EXPORT RET NAME ARGS ; G__DUMMYTOCHECKFORDUPLICATES(IDX)
^
In file included from /Volumes/Mac_Storage/Work_Data/DALITZ_SIMULATION/PI0_ACCEPTANCE/PHASE_SPACE_SIM/Phase_Space_Acceptance_C_ACLiC_dict.cxx:17:
In file included from /Volumes/Mac_Storage/Work_Data/DALITZ_SIMULATION/PI0_ACCEPTANCE/PHASE_SPACE_SIM/Phase_Space_Acceptance_C_ACLiC_dict.h:18:
In file included from /Users/Mike/root/include/G__ci.h:1621:
/Users/Mike/root/include/G__ci_fproto.h:304:28: warning: 'G__exec_tempfile_fp' has C-linkage specified,
but returns user-defined type 'G__value' which is incompatible with C [-Wreturn-type-c-linkage]
G__DECL_API(197, G__value, G__exec_tempfile_fp, (FILE *fp))
^
/Users/Mike/root/include/G__ci.h:1613:18: note: expanded from macro 'G__DECL_API'
G__EXPORT RET NAME ARGS ; G__DUMMYTOCHECKFORDUPLICATES(IDX)
^
In file included from /Volumes/Mac_Storage/Work_Data/DALITZ_SIMULATION/PI0_ACCEPTANCE/PHASE_SPACE_SIM/Phase_Space_Acceptance_C_ACLiC_dict.cxx:17:
In file included from /Volumes/Mac_Storage/Work_Data/DALITZ_SIMULATION/PI0_ACCEPTANCE/PHASE_SPACE_SIM/Phase_Space_Acceptance_C_ACLiC_dict.h:18:
In file included from /Users/Mike/root/include/G__ci.h:1621:
/Users/Mike/root/include/G__ci_fproto.h:305:28: warning: 'G__exec_tempfile' has C-linkage specified, but
returns user-defined type 'G__value' which is incompatible with C [-Wreturn-type-c-linkage]
G__DECL_API(198, G__value, G__exec_tempfile, (G__CONST char *file))
^
/Users/Mike/root/include/G__ci.h:1613:18: note: expanded from macro 'G__DECL_API'
G__EXPORT RET NAME ARGS ; G__DUMMYTOCHECKFORDUPLICATES(IDX)
^
In file included from /Volumes/Mac_Storage/Work_Data/DALITZ_SIMULATION/PI0_ACCEPTANCE/PHASE_SPACE_SIM/Phase_Space_Acceptance_C_ACLiC_dict.cxx:17:
In file included from /Volumes/Mac_Storage/Work_Data/DALITZ_SIMULATION/PI0_ACCEPTANCE/PHASE_SPACE_SIM/Phase_Space_Acceptance_C_ACLiC_dict.h:18:
In file included from /Users/Mike/root/include/G__ci.h:1621:
/Users/Mike/root/include/G__ci_fproto.h:306:28: warning: 'G__exec_text' has C-linkage specified, but
returns user-defined type 'G__value' which is incompatible with C [-Wreturn-type-c-linkage]
G__DECL_API(199, G__value, G__exec_text, (G__CONST char *unnamedmacro))
^
/Users/Mike/root/include/G__ci.h:1613:18: note: expanded from macro 'G__DECL_API'
G__EXPORT RET NAME ARGS ; G__DUMMYTOCHECKFORDUPLICATES(IDX)
^
In file included from /Volumes/Mac_Storage/Work_Data/DALITZ_SIMULATION/PI0_ACCEPTANCE/PHASE_SPACE_SIM/Phase_Space_Acceptance_C_ACLiC_dict.cxx:17:
In file included from /Volumes/Mac_Storage/Work_Data/DALITZ_SIMULATION/PI0_ACCEPTANCE/PHASE_SPACE_SIM/Phase_Space_Acceptance_C_ACLiC_dict.h:18:
In file included from /Users/Mike/root/include/G__ci.h:1621:
/Users/Mike/root/include/G__ci_fproto.h:383:28: warning: 'G__getfunction' has C-linkage specified, but
returns user-defined type 'G__value' which is incompatible with C [-Wreturn-type-c-linkage]
G__DECL_API(247, G__value, G__getfunction, (G__CONST char *item,int *known3,int memfunc_flag))
^
/Users/Mike/root/include/G__ci.h:1613:18: note: expanded from macro 'G__DECL_API'
G__EXPORT RET NAME ARGS ; G__DUMMYTOCHECKFORDUPLICATES(IDX)
^
Did not see these before my computer upgrade.
Edit: I upgraded from a dual core 2007 Macbook running OSX Lion 10.7 to a 2013 i7 Macbook pro running Mountain Lion 10.8.5
Is this something to worry about? My macro does run.
BR
MK