COVESA / vsomeip

An implementation of Scalable service-Oriented MiddlewarE over IP
Mozilla Public License 2.0
1.01k stars 647 forks source link

fix compiler error: "_FORTIFY_SOURCE" redefined #650

Closed brenkem closed 1 month ago

brenkem commented 2 months ago

Request to fix compiler error because new compilers (gcc >= 7.5.0-3ubuntu1~18.04) seems to define the macro _FORTIFY_SOURCE by default and creates a conflict with the macro definition from the project.

Details can be found in the issue [here].

[here]: https://github.com/COVESA/vsomeip/issues/645

brenkem commented 1 month ago

Sure. Just deside how to handle it. The project can deside. I only want to build it with buildroot without further patching to fix this double definition in new compiler versions.

So what shall I implement? The option above? Just tell me. It only needs to compile.