1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 <2020> 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 <2020> 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Does IOC name have any restrictions ? |
From: | Hitesh Dhola via Tech-talk <tech-talk at aps.anl.gov> |
To: | Ralph Lange <ralph.lange at gmx.de> |
Cc: | tech-talk <tech-talk at aps.anl.gov> |
Date: | Wed, 24 Jun 2020 11:53:58 +0530 (IST) |
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 3testBut, make fails with following error.----------------3test_registerRecordDeviceDriver.cpp:248:5: error: expected unqualified-id before numeric constant248 | 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