Experimental Physics and
| |||||||||||||||||
|
Also, a patch file to get rid of the following warning. :) ======================================================================= warning: dereferencing type-punned pointer will break strict-aliasing rules Index: ./src/libCom/misc/epicsExport.h =================================================================== RCS file: /net/phoebus/epicsmgr/cvsroot/epics/base/src/libCom/misc/ epicsExport.h,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -r1.1.2.3 -r1.1.2.4 --- ./src/libCom/misc/epicsExport.h 30 Mar 2004 21:56:23 -0000 1.1.2.3 +++ ./src/libCom/misc/epicsExport.h 18 Feb 2005 22:03:24 -0000 1.1.2.4 @@ -26,7 +26,7 @@ #define epicsExportAddress(typ,obj) \ epicsShareExtern typ *EPICS_EXPORT_POBJ(typ,obj); \ -epicsShareDef typ *EPICS_EXPORT_POBJ(typ,obj) = (typ *)&obj +epicsShareDef typ *EPICS_EXPORT_POBJ(typ,obj) = (typ *)(char *)&obj #define epicsExportRegistrar(func) \ epicsShareFunc REGISTRAR EPICS_EXPORT_PFUNC(func) = (REGISTRAR)(void*)&func -- Eric Norum <[email protected]> Advanced Photon Source Argonne National Laboratory (630) 252-4793
| ||||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |