[bind10-dev] BIND 10 trac1954, updated. d6f64f5a6b1c524e6b6fd91151df7dee98add719 [1954] Switching to fully compile with C++ to get rid of clang linking errors

Tomek Mrugalski tomasz at isc.org
Mon May 21 19:00:05 UTC 2012


On 12-05-21 21:44, JINMEI Tatuya / 神明達哉 wrote:
>> +# We have to suppress errors because we are compiling C code with CXX
>> +# We have to do this to link with new C++ pieces of code
>> +perfdhcp_CXXFLAGS = $(AM_CXXFLAGS)
>> +perfdhcp_CXXFLAGS += -Wno-error -Wno-writestrings
> 
> Shouldn't we do this at least selectively, only when it's absolutely
> necessary?  From a quick look at the commit log, this was needed
> because
Marcin is gradually refactoring existing C code into C++. It is too
large for a single task. Once the code is fully refactored, -Wno-error
should be removed.

The whole refactoring operation is planned for around 6 weeks.

Tomek


More information about the bind10-dev mailing list