iit-danieli-joint-lab / idjl-gcc-vxworks

Helpers script to compile a version of GCC that crosscompiles to VxWorks.
4 stars 3 forks source link

Ensure that gettimeofday declaration works fine also in C++ #15

Closed traversaro closed 4 years ago

traversaro commented 4 years ago

restrict is not a keyword directly supported in C++ compiler, and the added benefit is not worth to have some logic to just enable it when a C compiler is used.

See https://en.wikipedia.org/wiki/Restrict for more details.