-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
The Specific Compiler Warning Flags in the Issue:
-Wcast-align
-Wnon-virtual-dtor
-Wnoexcept
-Wsuggest-override
-Wuseless-cast
-Wold-style-cast
-Wnull-dereference
-Wstrict-null-sentinel
-Wzero-as-null-pointer-constant
-Wduplicated-branches
-Wduplicated-cond
-Wlogical-op
It will be great to know the plans/considerations to fully comply to these warning flags.
The main reason, These additional flags are clearly indicative and at compilation time even if one spot on, it is a long/unclear output to figure-out. (while supposedly as not an actual asio::
programming error)
Other Issues and Pull requests on the subject:
apache/thrift#2318
google/re2#298
Before making the changes required (hopefully all) and requesting a pull. it will be important to know opinions on these specific flags and further more is state of compatibility for platforms/arch other than x86-64(linux/debian) with GCC(9.3-10).
Meanwhile on my project, It is to ignore these flags: (Not an urgent fatal Error/Bug type of an Issue )
https://github.com/kashirin-alex/swc-db/blob/3ac4a1d586435578d57179f36c9777cdd6486a46/src/cc/include/swcdb/core/comm/asio_wrap.h#L12