]> git.ipfire.org Git - thirdparty/gcc.git/commit
Setup system header wrappers for C++ on VxWorks
authorOlivier Hainque <hainque@adacore.com>
Mon, 30 Dec 2019 21:46:21 +0000 (21:46 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Mon, 30 Dec 2019 21:46:21 +0000 (21:46 +0000)
commit41c1b913448a04a85580565796b8e76284bf3bb9
tree457d6e8107b42cd41fc3fe9c1163c00b5056bf6a
parentabb6c3eecf6680814624bd1fe454844002dfc892
Setup system header wrappers for C++ on VxWorks

Starting from VxWorks 7, the system comes with a Dinkumware
environment which requires the inclusion of "yvals.h" before other
system headers.  We provide wrapped versions of a few headers to
accommodate such constraints.

2019-12-30  Jerome Lambourg  <lambourg@adaccore.com>
            Olivier Hainque  <hainque@adacore.com>

gcc/
* config/vxworks/_yvals.h: New file.
* config/vxworks/_yvals-wrapper.h: New file.
* gcc/config/vxworks/math.h: Use it to wrap the VxWorks
math.h header.
* gcc/config/vxworks/complex.h: Likewise.
* gcc/config/vxworks/setjmp.h: Likewise.
* gcc/config/vxworks/inttypes.h: Likewise.
* config.gcc (*-*-vxworks*): Add system header wrappers
to extra_headers.
(powerpc-*-vxworks*): Reuse the common extra_headers.

From-SVN: r279784
gcc/ChangeLog
gcc/config.gcc