Experimental Physics and
| |||||||||||||||||
|
I'm testing Gemini's genSubRecord.c against R3.15.5-rc1. Looks like our RSET implementation is now obsolete as of R3.15.3 (See: http://www.aps.anl.gov/epics/base/R3-15/3-docs/RELEASE_NOTES.html RSET::get_value()). Is there a porting guide to Record support for R3.15 ? Thank you, Matt --------------------- Build Error: make[3]: Entering directory `/home/mrippa/work/R3.15.5/support/geminiRec/geminiRecApp/src/O.linux-x86_64' /usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -g -Wall -mtune=generic -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/gem_sw/epics/R3.15.5-rc1/base/include/compiler/gcc -I/gem_sw/epics/R3.15.5-rc1/base/include/os/Linux -I/gem_sw/epics/R3.15.5-rc1/base/include -c ../genSubRecord.c ../genSubRecord.c:607: warning: ‘struct valueDes’ declared inside parameter list ../genSubRecord.c:607: warning: its scope is only this definition or declaration, which is probably not what you want ../genSubRecord.c: In function ‘get_value’: ../genSubRecord.c:612: error: dereferencing pointer to incomplete type ../genSubRecord.c:613: error: dereferencing pointer to incomplete type ../genSubRecord.c:614: error: dereferencing pointer to incomplete type ../genSubRecord.c: In function ‘findField’: ../genSubRecord.c:1076: error: ‘genSubRecord’ has no member named ‘not’ ../genSubRecord.c:1080: error: ‘genSubRecord’ has no member named ‘not’ ../genSubRecord.c:1082: error: ‘genSubRecord’ has no member named ‘not’ make[3]: *** [genSubRecord.o] Error 1 make[3]: Leaving directory `/home/mrippa/work/R3.15.5/support/geminiRec/geminiRecApp/src/O.linux-x86_64' Relevant legacy code: genSubRecord.c #include <stdlib.h> #include <stdio.h> #include <string.h> #include <alarm.h> #include <dbDefs.h> #include <dbEvent.h> #include <dbAccess.h> #include <dbFldTypes.h> #include <errMdef.h> #include <recSup.h> #include <devSup.h> #include <special.h> #include <registryFunction.h> #include <epicsExport.h> #include <recGbl.h> ... rset genSubRSET={ RSETNUMBER, report, initialize, init_record, process, special, get_value, cvt_dbaddr, get_array_info, put_array_info, get_units, get_precision, get_enum_str, get_enum_strs, put_enum_str, get_graphic_double, get_control_double, get_alarm_double }; epicsExportAddress(rset,genSubRSET); ... static long get_value( genSubRecord *pgsub, struct valueDes *pvdes ) { #if DEBUG printf("Calling get_value...\n"); #endif pvdes->no_elements = 1; pvdes->pvalue = (void *)(&pgsub->val); pvdes->field_type = DBF_LONG; return(0); } On Sun, Nov 13, 2016 at 8:38 AM, <[email protected]> wrote: Hi Andrew,
| ||||||||||||||||
ANJ, 17 Nov 2016 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |