App HTTP_SERVER fails after GCC update

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User7795
Level 4
Level 4
Hi Infineon,

after update gcc to 9-2019-q4-major, app HTTP_SERVER V4.0.18 compiles with error:

static declaration of 'strnstr' follows non-static declaration

at file httpd.c (/DAVE/Generated/HTTP_SERVER) line 447.

Compiler set to ISO 2014 C++ with GNU Extensions (c++ source code).
gcc 4.9.3 compiles without error (same settings).

Best Regards
Wolfgang
0 Likes
2 Replies
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

For the moment you need to define the following macro
4219.attach

Regards,
Jesus
0 Likes
User7795
Level 4
Level 4
Hi Jesus,

thank you for the fast answer.
I checked it at 2 different projects and both compile now without error.

Best Regards
Wolfgang
0 Likes