lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #56003] `-Wc++-compat` causes build failure when using


From: Freddie Chopin
Subject: [lwip-devel] [bug #56003] `-Wc++-compat` causes build failure when using mbedtls
Date: Tue, 26 Mar 2019 07:42:06 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

Follow-up Comment #4, bug #56003 (project lwip):

I guess you refer to my previous bug report, where `-Wc++-compat` (and others)
was a problem for C++. This is unrelated issue - `-Wc++-compat` is still added
for GCC/Clang for C projects and lwip/mbedtls are C projects (;

I can provide a patch too - it would just move adding this flag from line 56
to line 71.

http://git.savannah.nongnu.org/cgit/lwip.git/tree/contrib/ports/CMakeCommon.cmake

However, I'm not 100% certain whether just disabling the warning (which I
obviously did locally [; ) is not just masking out the problem, which will
bite me when using TLS in a C++ project. But fixing that would probably mean a
change to mbedtls - they have no bug reports (yet) for this problematic struct
definition.

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?56003>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]