[RFC] fixincludes: vxworks: add hack around ioLib.h/unistd.h mutual inclusion

Tom de Vries tdevries@suse.de
Wed Jun 20 12:19:00 GMT 2018


Hi,

for make check-fixincludes I'm seeing:
...
cmp: EOF on
/home/vries/gcc_versions/devel/src/fixincludes/tests/base/ioLib.h
*** ioLib.h     2018-06-20 14:14:40.035956737 +0200
--- /home/vries/gcc_versions/devel/src/fixincludes/tests/base/ioLib.h
2018-06-20 14:14:28.183925247 +0200
***************
*** 17,24 ****
  #if defined( VXWORKS_WRITE_CONST_CHECK )
  extern int  write (int, const char*, size_t);
  #endif  /* VXWORKS_WRITE_CONST_CHECK */
-
-
- #if defined( VXWORKS_IOLIB_INCLUDE_UNISTD_CHECK )
- #include "unistd.h"
- #endif  /* VXWORKS_IOLIB_INCLUDE_UNISTD_CHECK */
--- 17,19 ----

There were fixinclude test FAILURES
Makefile:176: recipe for target 'check' failed
make: *** [check] Error 1
...

Thanks,
- Tom



More information about the Gcc-patches mailing list