Experimental Physics and
| |||||||||||||||
|
Hello, I am getting a make error in ioc generation using makeBaseApp, if I use any numeric in name "test". I created IOC using this, ../bin/windows-x64-mingw/makeBaseApp.pl -t ioc 3test ../bin/windows-x64-mingw/makeBaseApp.pl -i -t ioc 3test But, make fails with following error. ---------------- 3test_registerRecordDeviceDriver.cpp:248:5: error: expected unqualified-id before numeric constant 248 | int 3test_registerRecordDeviceDriver(DBBASE *pbase) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3test_registerRecordDeviceDriver.cpp: In function 'void rrddCallFunc(const iocshArgBuf*)': 3test_registerRecordDeviceDriver.cpp:291:19: error: unable to find numeric literal operator 'operator""test_registerRecordDeviceDriver' 291 | iocshSetError(3test_registerRecordDeviceDriver(*iocshPpdbbase)); ------------------------- It works fine if i use non-numeric, say using 'rtest' instead of '3test' is working fine. I am working on Windows 10 and MSYS environment. Do we have any restriction in naming convention for IOC? or this is something else ? Regards, Hitesh
| ||||||||||||||
ANJ, 15 Jul 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |