<div dir="ltr"><span style="font-family:monospace">Package: epics-dev<br>Version: 7.0.8+dfsg1-1<br></span><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Building with EPICS fails because the compiler cannot find `</span><span style="font-family:monospace">compilerSpecific.h`:</span></div><div><span style="font-family:monospace"></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">```<br></span></div><span style="font-family:monospace">In file included from /usr/include/epics/epicsThread.h:62,<br>                 from /usr/include/epics/cadef.h:35,<br>                 from src/epics.c:26:<br>/usr/include/epics/compilerDependencies.h:21:10: fatal error: compilerSpecific.h: No such file or directory<br>  21 | #include "compilerSpecific.h"<br>     | ^~~~~~~~~~~~~~~~~~~~<br>compilation terminated.<br>make[1]: *** [Makefile:8195: src/epics_la-epics.lo] Error 1<br></span><div><span style="font-family:monospace">```</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">The file exists at `</span><span style="font-family:monospace">/usr/include/epics/compiler/gcc/compilerSpecific.h`</span><span style="font-family:monospace">, which is not a directory searched by the compiler.<br></span></div><div><span style="font-family:monospace"></span></div><span style="font-family:monospace"><br></span><div><span style="font-family:monospace">`"</span><span style="font-family:monospace">compilerSpecific.h"` is</span><span style="font-family:monospace"> included unconditionally, and fails when not compiled with GCC. My recommendation is to guard the inclusion of the file with an appropriate check, for example:</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">```</span></div><div><span style="font-family:monospace">// </span><span style="font-family:monospace">/usr/include/epics/compilerDependencies.h, line 21</span></div><div><span style="font-family:monospace">#if __GNUC__</span></div><div><span style="font-family:monospace"># include "</span><span style="font-family:monospace">compiler/gcc/compilerSpecific.h</span><span style="font-family:monospace">"<br></span></div><div><span style="font-family:monospace">#endif<br></span></div><div><span style="font-family:monospace">```<br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Best regards</span></div><div><span style="font-family:monospace">—octo</span></div></div>