cc1: warning: command line option ‘-std=c++17’ is valid for C++/ObjC++ but not for C cc1: warning: command line option ‘-std=c++17’ is valid for C++/ObjC++ but not for C cc1: warning: command line option ‘-std=c++17’ is valid for C++/ObjC++ but not for C In file included from /afs/slac/g/lcls/epics/R7.0.3.1-1.0/modules/fcomUtil/R1.9.24/include/fcomUtil.h:36, from ../blenFcom.h:9, from ../blenIOCFunctions.cpp:6: /afs/slac/g/lcls/epics/R7.0.3.1-1.0/modules/fcom/R1.9.24/include/fcom_api.h:56:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define FCOM_ID_FMT "0x%08"PRIx32 ^ /afs/slac/g/lcls/epics/R7.0.3.1-1.0/modules/fcom/R1.9.24/include/fcom_api.h:501:27: warning: ISO C++ forbids flexible array member ‘memb’ [-Wpedantic] FcomBlobSetMemb memb[]; ^ In file included from /afs/slac/g/lcls/epics/R7.0.3.1-1.0/modules/fcomUtil/R1.9.24/include/fcomUtil.h:36, from ../blenFcom.h:9, from ../cpswStreamBSA.cpp:13: /afs/slac/g/lcls/epics/R7.0.3.1-1.0/modules/fcom/R1.9.24/include/fcom_api.h:56:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define FCOM_ID_FMT "0x%08"PRIx32 ^ /afs/slac/g/lcls/epics/R7.0.3.1-1.0/modules/fcom/R1.9.24/include/fcom_api.h:501:27: warning: ISO C++ forbids flexible array member ‘memb’ [-Wpedantic] FcomBlobSetMemb memb[]; ^ In file included from /afs/slac/g/lcls/package/cpsw/framework/R4.4.1/buildroot-2019.08-x86_64/include/cpsw_api_user.h:19, from ../cpswStreamBSA.cpp:15: /afs/slac/g/lcls/package/cpsw/framework/R4.4.1/buildroot-2019.08-x86_64/include/cpsw_shared_ptr.h:20:2: warning: extra ‘;’ [-Wpedantic] }; ^ In file included from /afs/slac/g/lcls/package/cpsw/framework/R4.4.1/buildroot-2019.08-x86_64/include/cpsw_error.h:21, from /afs/slac/g/lcls/package/cpsw/framework/R4.4.1/buildroot-2019.08-x86_64/include/cpsw_api_user.h:56, from ../cpswStreamBSA.cpp:15: /afs/slac/g/lcls/package/cpsw/framework/R4.4.1/buildroot-2019.08-x86_64/include/cpsw_stdio.h:25:2: warning: extra ‘;’ [-Wpedantic] }; ^ In file included from ../cpswStreamBSA.cpp:15: /afs/slac/g/lcls/package/cpsw/framework/R4.4.1/buildroot-2019.08-x86_64/include/cpsw_api_user.h:89:2: warning: extra ‘;’ [-Wpedantic] }; ^ In file included from /afs/slac/g/lcls/package/cpsw/framework/R4.4.1/buildroot-2019.08-x86_64/include/cpsw_api_user.h:56, from ../cpswStreamBSA.cpp:15: /afs/slac/g/lcls/package/cpsw/framework/R4.4.1/buildroot-2019.08-x86_64/include/cpsw_error.h: In instantiation of ‘ErrnoError::ErrnoError(T, const char*) [with T = const char*]’: /afs/slac/g/lcls/package/cpsw/framework/R4.4.1/buildroot-2019.08-x86_64/include/cpsw_error.h:309:43: required from here /afs/slac/g/lcls/package/cpsw/framework/R4.4.1/buildroot-2019.08-x86_64/include/cpsw_error.h:249:36: warning: unused parameter ‘typeName’ [-Wunused-parameter] ErrnoError(const T s, const char *typeName) ~~~~~~~~~~~~^~~~~~~~ /afs/slac/g/lcls/package/cpsw/framework/R4.4.1/buildroot-2019.08-x86_64/include/cpsw_error.h: In instantiation of ‘ErrnoError::ErrnoError(T, const char*) [with T = std::__cxx11::basic_string]’: /afs/slac/g/lcls/package/cpsw/framework/R4.4.1/buildroot-2019.08-x86_64/include/cpsw_error.h:321:28: required from here /afs/slac/g/lcls/package/cpsw/framework/R4.4.1/buildroot-2019.08-x86_64/include/cpsw_error.h:249:36: warning: unused parameter ‘typeName’ [-Wunused-parameter] In file included from ../blenFcom.cpp:13: /afs/slac/g/lcls/epics/R7.0.3.1-1.0/modules/fcom/R1.9.24/include/fcom_api.h:56:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define FCOM_ID_FMT "0x%08"PRIx32 ^ /afs/slac/g/lcls/epics/R7.0.3.1-1.0/modules/fcom/R1.9.24/include/fcom_api.h:501:27: warning: ISO C++ forbids flexible array member ‘memb’ [-Wpedantic] FcomBlobSetMemb memb[]; ^ cc1: warning: command line option ‘-std=c++17’ is valid for C++/ObjC++ but not for C In file included from ../asubWeightXAxis.c:2: /afs/slac/g/lcls/epics/base/R7.0.3.1-1.0/include/epicsExport.h:32:64: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] epicsShareFunc REGISTRAR EPICS_EXPORT_PFUNC(func) = (REGISTRAR)(void*)&func ^ /afs/slac/g/lcls/epics/base/R7.0.3.1-1.0/include/epicsExport.h:37:1: note: in expansion of macro ‘epicsExportRegistrar’ epicsExportRegistrar(register_func_ ## func) ^~~~~~~~~~~~~~~~~~~~ ../asubWeightXAxis.c:24:1: note: in expansion of macro ‘epicsRegisterFunction’ epicsRegisterFunction(calcTimeArray); ^~~~~~~~~~~~~~~~~~~~~ /afs/slac/g/lcls/epics/base/R7.0.3.1-1.0/include/epicsExport.h:32:53: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] epicsShareFunc REGISTRAR EPICS_EXPORT_PFUNC(func) = (REGISTRAR)(void*)&func ^ /afs/slac/g/lcls/epics/base/R7.0.3.1-1.0/include/epicsExport.h:37:1: note: in expansion of macro ‘epicsExportRegistrar’ epicsExportRegistrar(register_func_ ## func) ^~~~~~~~~~~~~~~~~~~~ ../asubWeightXAxis.c:24:1: note: in expansion of macro ‘epicsRegisterFunction’ epicsRegisterFunction(calcTimeArray); ^~~~~~~~~~~~~~~~~~~~~ cc1: warning: command line option ‘-std=c++17’ is valid for C++/ObjC++ but not for C In file included from ../asubRWF.c:2: /afs/slac/g/lcls/epics/base/R7.0.3.1-1.0/include/epicsExport.h:32:64: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] epicsShareFunc REGISTRAR EPICS_EXPORT_PFUNC(func) = (REGISTRAR)(void*)&func ^ /afs/slac/g/lcls/epics/base/R7.0.3.1-1.0/include/epicsExport.h:37:1: note: in expansion of macro ‘epicsExportRegistrar’ epicsExportRegistrar(register_func_ ## func) ^~~~~~~~~~~~~~~~~~~~ ../asubRWF.c:25:1: note: in expansion of macro ‘epicsRegisterFunction’ epicsRegisterFunction(calcRWF16); ^~~~~~~~~~~~~~~~~~~~~ /afs/slac/g/lcls/epics/base/R7.0.3.1-1.0/include/epicsExport.h:32:53: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] epicsShareFunc REGISTRAR EPICS_EXPORT_PFUNC(func) = (REGISTRAR)(void*)&func ^ /afs/slac/g/lcls/epics/base/R7.0.3.1-1.0/include/epicsExport.h:37:1: note: in expansion of macro ‘epicsExportRegistrar’ epicsExportRegistrar(register_func_ ## func) ^~~~~~~~~~~~~~~~~~~~ ../asubRWF.c:25:1: note: in expansion of macro ‘epicsRegisterFunction’ epicsRegisterFunction(calcRWF16); ^~~~~~~~~~~~~~~~~~~~~ cc1: warning: command line option ‘-std=c++17’ is valid for C++/ObjC++ but not for C ../DaqSizeSub.c: In function ‘DaqSizeSub’: ../DaqSizeSub.c:29:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (i = 0; i < nelm_bay0 ; i++) ^ ../DaqSizeSub.c:32:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] for (i = 0; i < nelm_bay1 ; i++) ^ In file included from ../DaqSizeSub.c:11: ../DaqSizeSub.c: At top level: /afs/slac/g/lcls/epics/base/R7.0.3.1-1.0/include/epicsExport.h:32:64: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] epicsShareFunc REGISTRAR EPICS_EXPORT_PFUNC(func) = (REGISTRAR)(void*)&func ^ /afs/slac/g/lcls/epics/base/R7.0.3.1-1.0/include/epicsExport.h:37:1: note: in expansion of macro ‘epicsExportRegistrar’ epicsExportRegistrar(register_func_ ## func) ^~~~~~~~~~~~~~~~~~~~ ../DaqSizeSub.c:43:1: note: in expansion of macro ‘epicsRegisterFunction’ epicsRegisterFunction(DaqSizeSub); ^~~~~~~~~~~~~~~~~~~~~ /afs/slac/g/lcls/epics/base/R7.0.3.1-1.0/include/epicsExport.h:32:53: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] epicsShareFunc REGISTRAR EPICS_EXPORT_PFUNC(func) = (REGISTRAR)(void*)&func ^ /afs/slac/g/lcls/epics/base/R7.0.3.1-1.0/include/epicsExport.h:37:1: note: in expansion of macro ‘epicsExportRegistrar’ epicsExportRegistrar(register_func_ ## func) ^~~~~~~~~~~~~~~~~~~~ ../DaqSizeSub.c:43:1: note: in expansion of macro ‘epicsRegisterFunction’ epicsRegisterFunction(DaqSizeSub); ^~~~~~~~~~~~~~~~~~~~~