-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STYLE: Cxx11 modernization steps #104
STYLE: Cxx11 modernization steps #104
Conversation
66d7489 is incorrect. I understand why, and will try to submit a patch. Once done, please re-run your scripts. |
c00aca5
to
42d71ba
Compare
@malaterre I have removed that patch from the list for now. I'm happy to re-run one task script, but re-running all the scripts is a bit tedious. |
I had an incorrect filter bug that missed all the header files for GDCM. I'm working through that now. |
42d71ba
to
49e7025
Compare
7aedd65
to
6128aef
Compare
@malaterre I removed the offending patch set. Is there a problem with the reset of this? |
GDCM/Source/MediaStorageAndFileFormat/gdcmSerieHelper.h:96:17: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct { ^ Rule See: https://en.cppreference.com/w/cpp/language/typedef
Building CXX object Applications/Cxx/CMakeFiles/gdcmtar.dir/gdcmtar.cxx.o GDCM/Applications/Cxx/gdcmtar.cxx:1395:13: warning: comparison of different enumeration types ('gdcm::UIDs::TSType' and 'gdcm::UIDs::TSName') [-Wenum-compare] if( uid != gdcm::UIDs::EnhancedMRImageStorage ) ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GDCM/Utilities/gdcmopenjpeg/src/lib/openjp2/tcd.c:2227:35: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-int-float-conversion] if (l_value > INT_MAX) {
6128aef
to
ebd3016
Compare
Find and remove redundant void argument lists.
The check converts the usage of null pointer constants (eg. NULL, 0) to use the new C++11 nullptr keyword. cd ${BLDDIR} run-clang-tidy.py -extra-arg=-D__clang__ -checks=-*,modernize-use-nullptr -header-filter=.* -fix
Finds and replaces integer literals which are cast to bool. cd ${BLDDIR} run-clang-tidy.py -extra-arg=-D__clang__ -checks=-*,modernize-use-bool-literals -header-filter=.* -fix
ebd3016
to
bf2020d
Compare
No description provided.