-
Notifications
You must be signed in to change notification settings - Fork 14
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
Remove warnings 1 #255
Remove warnings 1 #255
Conversation
Replaced with lambdas
Conflicts: Array.cc HTTPCache.cc
There are some compiler warnings that come from code that is automatically generated and we cannot fix.
There are some compiler warnings that come from code that is automatically generated and we cannot fix.
|
Conflicts: Array.cc ce_expr.lex
…into remove-warnings-1
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good modulo so,e clean up I think...
DDS.cc
Outdated
@@ -1202,8 +1206,13 @@ void DDS::print_xml_writer(ostream &out, bool constrained, const string &blob) { | |||
// Print the global attributes | |||
d_attr.print_xml_writer(xml); | |||
|
|||
// Print each variable | |||
#if 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this going away?Should it stay? What do?
Grid.cc
Outdated
@@ -713,6 +713,8 @@ void Grid::print_xml(ostream &out, string space, bool constrained) { | |||
out << xml.get_doc(); | |||
} | |||
|
|||
#if 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this going away?Should it stay? What do?
Grid.cc
Outdated
@@ -765,7 +779,18 @@ void Grid::print_xml_writer(XMLWriter &xml, bool constrained) { | |||
|
|||
get_array()->print_xml_writer(xml, constrained); | |||
|
|||
#if 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this going away?Should it stay? What do?
@@ -29,7 +29,7 @@ | |||
|
|||
// The d4_function_parser.tab.cc and .hh files define and declare this class | |||
%define parser_class_name {D4FunctionParser} | |||
// %define api.parser.class {D4FunctionParser} | |||
// %define api.parser.class {D4FunctionParser}. Waiting on RHEL8 to upgrade bison. jhrg 7/19/24 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
|
All suggestions followed. I'm going to merge now. I might look into the code smells as time allows. |
Remove warnings associated with the use of unary_function.
Some of these I replaced with lambda functions, some with range-based
for loops.