dbLock.h: use of size_t without including stddef.h
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
EPICS Base | Status tracked in 7.0 | |||||
3.16 |
Fix Released
|
Medium
|
Unassigned | |||
7.0 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
From Florian Feldbauer ( florian _AT_ ep1.ruhr-
Just in case this is a bug in base 3.16.1: I was trying to build an IOC directly on my BeagleBone Black. I'm using the latest Debian Stretch image (gcc6.3.0).
Building EPICS base and CALC-Module worked without any problems. But building the IOC (with some custom device support) I got the following error:
> /usr/bin/gcc -D_GNU_SOURCE -D_DEFAULT_SOURCE -DUNIX -Dlinux -O3 -g -Wall -I. -I../O.Common -I. -I. -I.. -I../..
> In file included from ../devIsegHalAs
> /opt/epics/
> size_t nrecs,
> ^~~~~~
I was able to fix this error by adding "#include <stddef.h> in base/include/
Affects 3.16 and newer.