Skip to content
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

Fixes for #215, 232 FP reports #245

Merged
merged 5 commits into from
Mar 14, 2023

Conversation

knewbury01
Copy link
Contributor

Description

fixes #215
fixes #232

Change request type

  • Release or process automation (GitHub workflows, internal scripts)
  • Internal documentation
  • External documentation
  • Query files (.ql, .qll, .qls or unit tests)
  • External scripts (analysis report or other code shipped as part of a release)

Rules with added or modified queries

  • No rules added
  • Queries have been added for the following rules:
    • rule number here
  • Queries have been modified for the following rules:
    • DCL51-CPP
    • A16-0-1

Release change checklist

A change note (development_handbook.md#change-notes) is required for any pull request which modifies:

  • The structure or layout of the release artifacts.
  • The evaluation performance (memory, execution time) of an existing query.
  • The results of an existing query in any circumstance.

If you are only adding new rule queries, a change note is not required.

Author: Is a change note required?

  • Yes
  • No

🚨🚨🚨
Reviewer: Confirm that format of shared queries (not the .qll file, the
.ql file that imports it) is valid by running them within VS Code.

  • Confirmed

Reviewer: Confirm that either a change note is not required or the change note is required and has been added.

  • Confirmed

Query development review checklist

For PRs that add new queries or modify existing queries, the following checklist should be completed by both the author and reviewer:

Author

  • Have all the relevant rule package description files been checked in?
  • Have you verified that the metadata properties of each new query is set appropriately?
  • Do all the unit tests contain both "COMPLIANT" and "NON_COMPLIANT" cases?
  • Are the alert messages properly formatted and consistent with the style guide?
  • Have you run the queries on OpenPilot and verified that the performance and results are acceptable?
    As a rule of thumb, predicates specific to the query should take no more than 1 minute, and for simple queries be under 10 seconds. If this is not the case, this should be highlighted and agreed in the code review process.
  • Does the query have an appropriate level of in-query comments/documentation?
  • Have you considered/identified possible edge cases?
  • Does the query not reinvent features in the standard library?
  • Can the query be simplified further (not golfed!)

Reviewer

  • Have all the relevant rule package description files been checked in?
  • Have you verified that the metadata properties of each new query is set appropriately?
  • Do all the unit tests contain both "COMPLIANT" and "NON_COMPLIANT" cases?
  • Are the alert messages properly formatted and consistent with the style guide?
  • Have you run the queries on OpenPilot and verified that the performance and results are acceptable?
    As a rule of thumb, predicates specific to the query should take no more than 1 minute, and for simple queries be under 10 seconds. If this is not the case, this should be highlighted and agreed in the code review process.
  • Does the query have an appropriate level of in-query comments/documentation?
  • Have you considered/identified possible edge cases?
  • Does the query not reinvent features in the standard library?
  • Can the query be simplified further (not golfed!)

@github-actions
Copy link

🤖 Beep Boop! Matrix Testing for this PR has been initiated. Please check back later for results.

💡 If you do not hear back from me please check my status! I will report even if this PR does not contain files eligible for matrix testing.

@jsinglet
Copy link
Contributor

🤖 Beep Boop! clang/c/x86_64 Matrix Testing for this PR has been completed but I didn't find anything to test!

@jsinglet
Copy link
Contributor

🤖 Beep Boop! gcc/c/x86_64 Matrix Testing for this PR has been completed but I didn't find anything to test!

@jsinglet
Copy link
Contributor

🤖 Beep Boop! gcc/cpp/x86_64 Matrix Testing for this PR has been completed. See below for the results!


TEST_DIFFERENCE      : 
QUERY                : PreProcessorShallOnlyBeUsedForCertainDirectivesPatterns
PACKAGE              : Macros
COMPILE_ERROR_OUTPUT : 
SUITE                : AUTOSAR
TEST_PASS            : True
COMPILE_PASS         : True
RULE                 : A16-0-1

TEST_DIFFERENCE      : 
QUERY                : UseOfReservedLiteralSuffixIdentifier
PACKAGE              : Naming
COMPILE_ERROR_OUTPUT : [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-10 19:17:23] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-10 19:17:23] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-10 19:17:23] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-10 19:17:23] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-10 19:17:23] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]      ^~~~~~
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-10 19:17:23] [build-stderr]  extern char *tzname[2];
                       [2023-03-10 19:17:23] [build-stderr]               ^~~~~~
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-10 19:17:23] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]                               ^
                       [2023-03-10 19:17:24] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
SUITE                : CERT-C++
TEST_PASS            : False
COMPILE_PASS         : False
RULE                 : DCL51-CPP

TEST_DIFFERENCE      : 
QUERY                : ReuseOfReservedIdentifier
PACKAGE              : Naming
COMPILE_ERROR_OUTPUT : [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-10 19:17:23] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-10 19:17:23] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-10 19:17:23] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-10 19:17:23] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-10 19:17:23] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]      ^~~~~~
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-10 19:17:23] [build-stderr]  extern char *tzname[2];
                       [2023-03-10 19:17:23] [build-stderr]               ^~~~~~
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-10 19:17:23] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]                               ^
                       [2023-03-10 19:17:24] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
SUITE                : CERT-C++
TEST_PASS            : False
COMPILE_PASS         : False
RULE                 : DCL51-CPP

TEST_DIFFERENCE      : 
QUERY                : UseOfDoubleUnderscoreReservedPrefix
PACKAGE              : Naming
COMPILE_ERROR_OUTPUT : [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-10 19:17:23] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-10 19:17:23] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-10 19:17:23] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-10 19:17:23] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-10 19:17:23] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]      ^~~~~~
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-10 19:17:23] [build-stderr]  extern char *tzname[2];
                       [2023-03-10 19:17:23] [build-stderr]               ^~~~~~
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-10 19:17:23] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]                               ^
                       [2023-03-10 19:17:24] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
SUITE                : CERT-C++
TEST_PASS            : False
COMPILE_PASS         : False
RULE                 : DCL51-CPP

TEST_DIFFERENCE      : 
QUERY                : FunctionReusesReservedName
PACKAGE              : Naming
COMPILE_ERROR_OUTPUT : [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-10 19:17:23] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-10 19:17:23] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-10 19:17:23] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-10 19:17:23] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-10 19:17:23] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]      ^~~~~~
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-10 19:17:23] [build-stderr]  extern char *tzname[2];
                       [2023-03-10 19:17:23] [build-stderr]               ^~~~~~
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-10 19:17:23] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]                               ^
                       [2023-03-10 19:17:24] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
SUITE                : CERT-C++
TEST_PASS            : False
COMPILE_PASS         : False
RULE                 : DCL51-CPP

TEST_DIFFERENCE      : 
QUERY                : RedefiningOfStandardLibraryName
PACKAGE              : Naming
COMPILE_ERROR_OUTPUT : [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-10 19:17:23] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-10 19:17:23] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-10 19:17:23] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-10 19:17:23] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-10 19:17:23] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]      ^~~~~~
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-10 19:17:23] [build-stderr]  extern char *tzname[2];
                       [2023-03-10 19:17:23] [build-stderr]               ^~~~~~
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-10 19:17:23] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]                               ^
                       [2023-03-10 19:17:24] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
SUITE                : CERT-C++
TEST_PASS            : False
COMPILE_PASS         : False
RULE                 : DCL51-CPP

TEST_DIFFERENCE      : 
QUERY                : UseOfSingleUnderscoreReservedPrefix
PACKAGE              : Naming
COMPILE_ERROR_OUTPUT : [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-10 19:17:23] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-10 19:17:23] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-10 19:17:23] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-10 19:17:23] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-10 19:17:23] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]      ^~~~~~
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-10 19:17:23] [build-stderr]  extern char *tzname[2];
                       [2023-03-10 19:17:23] [build-stderr]               ^~~~~~
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-10 19:17:23] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]                               ^
                       [2023-03-10 19:17:24] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
SUITE                : CERT-C++
TEST_PASS            : False
COMPILE_PASS         : False
RULE                 : DCL51-CPP

TEST_DIFFERENCE      : 
QUERY                : ObjectReusesReservedName
PACKAGE              : Naming
COMPILE_ERROR_OUTPUT : [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-10 19:17:23] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-10 19:17:23] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-10 19:17:23] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-10 19:17:23] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-10 19:17:23] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]      ^~~~~~
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-10 19:17:23] [build-stderr]  extern char *tzname[2];
                       [2023-03-10 19:17:23] [build-stderr]               ^~~~~~
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-10 19:17:23] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]                               ^
                       [2023-03-10 19:17:24] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
SUITE                : CERT-C++
TEST_PASS            : False
COMPILE_PASS         : False
RULE                 : DCL51-CPP

TEST_DIFFERENCE      : 
QUERY                : EnumeratorReusesReservedName
PACKAGE              : Naming
COMPILE_ERROR_OUTPUT : [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-10 19:17:23] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-10 19:17:23] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-10 19:17:23] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-10 19:17:23] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-10 19:17:23] [build-stderr]  
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-10 19:17:23] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]      ^~~~~~
                       [2023-03-10 19:17:23] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-10 19:17:23] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-10 19:17:23] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-10 19:17:23] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-10 19:17:23] [build-stderr]  extern char *tzname[2];
                       [2023-03-10 19:17:23] [build-stderr]               ^~~~~~
                       [2023-03-10 19:17:23] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-10 19:17:23] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-10 19:17:23] [build-stderr]                               ^
                       [2023-03-10 19:17:24] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
SUITE                : CERT-C++
TEST_PASS            : False
COMPILE_PASS         : False
RULE                 : DCL51-CPP


@jsinglet
Copy link
Contributor

🤖 Beep Boop! clang/cpp/x86_64 Matrix Testing for this PR has been completed. See below for the results!


TEST_PASS            : True
COMPILE_ERROR_OUTPUT : 
QUERY                : PreProcessorShallOnlyBeUsedForCertainDirectivesPatterns
SUITE                : AUTOSAR
COMPILE_PASS         : True
TEST_DIFFERENCE      : 
PACKAGE              : Macros
RULE                 : A16-0-1

TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-10 19:17:28] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-10 19:17:28] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-10 19:17:28] [build-stderr]           ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-10 19:17:28] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]     ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-10 19:17:28] [build-stderr] extern char *tzname[2];
                       [2023-03-10 19:17:28] [build-stderr]              ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-10 19:17:28] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]      ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-10 19:17:28] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-10 19:17:28] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-10 19:17:29] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
QUERY                : RedefiningOfStandardLibraryName
SUITE                : CERT-C++
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
PACKAGE              : Naming
RULE                 : DCL51-CPP

TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-10 19:17:28] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-10 19:17:28] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-10 19:17:28] [build-stderr]           ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-10 19:17:28] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]     ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-10 19:17:28] [build-stderr] extern char *tzname[2];
                       [2023-03-10 19:17:28] [build-stderr]              ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-10 19:17:28] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]      ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-10 19:17:28] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-10 19:17:28] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-10 19:17:29] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
QUERY                : ReuseOfReservedIdentifier
SUITE                : CERT-C++
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
PACKAGE              : Naming
RULE                 : DCL51-CPP

TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-10 19:17:28] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-10 19:17:28] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-10 19:17:28] [build-stderr]           ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-10 19:17:28] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]     ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-10 19:17:28] [build-stderr] extern char *tzname[2];
                       [2023-03-10 19:17:28] [build-stderr]              ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-10 19:17:28] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]      ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-10 19:17:28] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-10 19:17:28] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-10 19:17:29] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
QUERY                : UseOfDoubleUnderscoreReservedPrefix
SUITE                : CERT-C++
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
PACKAGE              : Naming
RULE                 : DCL51-CPP

TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-10 19:17:28] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-10 19:17:28] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-10 19:17:28] [build-stderr]           ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-10 19:17:28] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]     ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-10 19:17:28] [build-stderr] extern char *tzname[2];
                       [2023-03-10 19:17:28] [build-stderr]              ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-10 19:17:28] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]      ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-10 19:17:28] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-10 19:17:28] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-10 19:17:29] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
QUERY                : FunctionReusesReservedName
SUITE                : CERT-C++
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
PACKAGE              : Naming
RULE                 : DCL51-CPP

TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-10 19:17:28] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-10 19:17:28] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-10 19:17:28] [build-stderr]           ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-10 19:17:28] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]     ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-10 19:17:28] [build-stderr] extern char *tzname[2];
                       [2023-03-10 19:17:28] [build-stderr]              ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-10 19:17:28] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]      ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-10 19:17:28] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-10 19:17:28] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-10 19:17:29] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
QUERY                : UseOfReservedLiteralSuffixIdentifier
SUITE                : CERT-C++
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
PACKAGE              : Naming
RULE                 : DCL51-CPP

TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-10 19:17:28] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-10 19:17:28] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-10 19:17:28] [build-stderr]           ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-10 19:17:28] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]     ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-10 19:17:28] [build-stderr] extern char *tzname[2];
                       [2023-03-10 19:17:28] [build-stderr]              ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-10 19:17:28] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]      ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-10 19:17:28] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-10 19:17:28] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-10 19:17:29] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
QUERY                : EnumeratorReusesReservedName
SUITE                : CERT-C++
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
PACKAGE              : Naming
RULE                 : DCL51-CPP

TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-10 19:17:28] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-10 19:17:28] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-10 19:17:28] [build-stderr]           ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-10 19:17:28] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]     ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-10 19:17:28] [build-stderr] extern char *tzname[2];
                       [2023-03-10 19:17:28] [build-stderr]              ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-10 19:17:28] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]      ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-10 19:17:28] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-10 19:17:28] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-10 19:17:29] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
QUERY                : UseOfSingleUnderscoreReservedPrefix
SUITE                : CERT-C++
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
PACKAGE              : Naming
RULE                 : DCL51-CPP

TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-10 19:17:28] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-10 19:17:28] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-10 19:17:28] [build-stderr]           ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-10 19:17:28] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]     ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-10 19:17:28] [build-stderr] extern char *tzname[2];
                       [2023-03-10 19:17:28] [build-stderr]              ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-10 19:17:28] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-10 19:17:28] [build-stderr]      ^
                       [2023-03-10 19:17:28] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-10 19:17:28] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-10 19:17:28] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-10 19:17:28] [build-stderr]         ^
                       [2023-03-10 19:17:28] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-10 19:17:29] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
QUERY                : ObjectReusesReservedName
SUITE                : CERT-C++
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
PACKAGE              : Naming
RULE                 : DCL51-CPP


@jsinglet
Copy link
Contributor

🤖 Beep Boop! Matrix Testing for this PR has been completed. If no reports were posted it means this PR does not contain things that need matrix testing!

@knewbury01 knewbury01 self-assigned this Mar 10, 2023
Copy link
Collaborator

@lcartey lcartey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@github-actions
Copy link

🤖 Beep Boop! Matrix Testing for this PR has been initiated. Please check back later for results.

💡 If you do not hear back from me please check my status! I will report even if this PR does not contain files eligible for matrix testing.

@jsinglet
Copy link
Contributor

🤖 Beep Boop! gcc/c/X86_64 Matrix Testing for this PR has been completed but I didn't find anything to test!

@jsinglet
Copy link
Contributor

🤖 Beep Boop! clang/c/X86_64 Matrix Testing for this PR has been completed but I didn't find anything to test!

@jsinglet
Copy link
Contributor

🤖 Beep Boop! clang/cpp/X86_64 Matrix Testing for this PR has been completed. See below for the results!


TEST_DIFFERENCE      : 
RULE                 : A16-0-1
TEST_PASS            : True
COMPILE_PASS         : True
SUITE                : AUTOSAR
PACKAGE              : Macros
QUERY                : PreProcessorShallOnlyBeUsedForCertainDirectivesPatterns
COMPILE_ERROR_OUTPUT : 

TEST_DIFFERENCE      : 
RULE                 : DCL51-CPP
TEST_PASS            : False
COMPILE_PASS         : False
SUITE                : CERT-C++
PACKAGE              : Naming
QUERY                : UseOfDoubleUnderscoreReservedPrefix
COMPILE_ERROR_OUTPUT : [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:21:40] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-14 17:21:40] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-14 17:21:40] [build-stderr]           ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-14 17:21:40] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]     ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-14 17:21:40] [build-stderr] extern char *tzname[2];
                       [2023-03-14 17:21:40] [build-stderr]              ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-14 17:21:40] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]      ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:21:40] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-14 17:21:40] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-14 17:21:40] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       

TEST_DIFFERENCE      : 
RULE                 : DCL51-CPP
TEST_PASS            : False
COMPILE_PASS         : False
SUITE                : CERT-C++
PACKAGE              : Naming
QUERY                : ReuseOfReservedIdentifier
COMPILE_ERROR_OUTPUT : [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:21:40] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-14 17:21:40] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-14 17:21:40] [build-stderr]           ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-14 17:21:40] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]     ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-14 17:21:40] [build-stderr] extern char *tzname[2];
                       [2023-03-14 17:21:40] [build-stderr]              ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-14 17:21:40] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]      ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:21:40] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-14 17:21:40] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-14 17:21:40] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       

TEST_DIFFERENCE      : 
RULE                 : DCL51-CPP
TEST_PASS            : False
COMPILE_PASS         : False
SUITE                : CERT-C++
PACKAGE              : Naming
QUERY                : ObjectReusesReservedName
COMPILE_ERROR_OUTPUT : [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:21:40] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-14 17:21:40] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-14 17:21:40] [build-stderr]           ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-14 17:21:40] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]     ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-14 17:21:40] [build-stderr] extern char *tzname[2];
                       [2023-03-14 17:21:40] [build-stderr]              ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-14 17:21:40] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]      ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:21:40] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-14 17:21:40] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-14 17:21:40] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       

TEST_DIFFERENCE      : 
RULE                 : DCL51-CPP
TEST_PASS            : False
COMPILE_PASS         : False
SUITE                : CERT-C++
PACKAGE              : Naming
QUERY                : RedefiningOfStandardLibraryName
COMPILE_ERROR_OUTPUT : [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:21:40] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-14 17:21:40] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-14 17:21:40] [build-stderr]           ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-14 17:21:40] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]     ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-14 17:21:40] [build-stderr] extern char *tzname[2];
                       [2023-03-14 17:21:40] [build-stderr]              ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-14 17:21:40] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]      ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:21:40] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-14 17:21:40] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-14 17:21:40] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       

TEST_DIFFERENCE      : 
RULE                 : DCL51-CPP
TEST_PASS            : False
COMPILE_PASS         : False
SUITE                : CERT-C++
PACKAGE              : Naming
QUERY                : UseOfSingleUnderscoreReservedPrefix
COMPILE_ERROR_OUTPUT : [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:21:40] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-14 17:21:40] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-14 17:21:40] [build-stderr]           ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-14 17:21:40] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]     ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-14 17:21:40] [build-stderr] extern char *tzname[2];
                       [2023-03-14 17:21:40] [build-stderr]              ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-14 17:21:40] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]      ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:21:40] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-14 17:21:40] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-14 17:21:40] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       

TEST_DIFFERENCE      : 
RULE                 : DCL51-CPP
TEST_PASS            : False
COMPILE_PASS         : False
SUITE                : CERT-C++
PACKAGE              : Naming
QUERY                : EnumeratorReusesReservedName
COMPILE_ERROR_OUTPUT : [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:21:40] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-14 17:21:40] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-14 17:21:40] [build-stderr]           ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-14 17:21:40] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]     ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-14 17:21:40] [build-stderr] extern char *tzname[2];
                       [2023-03-14 17:21:40] [build-stderr]              ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-14 17:21:40] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]      ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:21:40] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-14 17:21:40] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-14 17:21:40] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       

TEST_DIFFERENCE      : 
RULE                 : DCL51-CPP
TEST_PASS            : False
COMPILE_PASS         : False
SUITE                : CERT-C++
PACKAGE              : Naming
QUERY                : FunctionReusesReservedName
COMPILE_ERROR_OUTPUT : [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:21:40] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-14 17:21:40] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-14 17:21:40] [build-stderr]           ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-14 17:21:40] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]     ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-14 17:21:40] [build-stderr] extern char *tzname[2];
                       [2023-03-14 17:21:40] [build-stderr]              ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-14 17:21:40] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]      ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:21:40] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-14 17:21:40] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-14 17:21:40] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       

TEST_DIFFERENCE      : 
RULE                 : DCL51-CPP
TEST_PASS            : False
COMPILE_PASS         : False
SUITE                : CERT-C++
PACKAGE              : Naming
QUERY                : UseOfReservedLiteralSuffixIdentifier
COMPILE_ERROR_OUTPUT : [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:21:40] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-14 17:21:40] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-14 17:21:40] [build-stderr]           ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-14 17:21:40] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]     ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-14 17:21:40] [build-stderr] extern char *tzname[2];
                       [2023-03-14 17:21:40] [build-stderr]              ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-14 17:21:40] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:21:40] [build-stderr]      ^
                       [2023-03-14 17:21:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:21:40] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-14 17:21:40] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-14 17:21:40] [build-stderr]         ^
                       [2023-03-14 17:21:40] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-14 17:21:41] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       


@jsinglet
Copy link
Contributor

🤖 Beep Boop! gcc/cpp/X86_64 Matrix Testing for this PR has been completed. See below for the results!


QUERY                : PreProcessorShallOnlyBeUsedForCertainDirectivesPatterns
SUITE                : AUTOSAR
COMPILE_PASS         : True
TEST_DIFFERENCE      : 
TEST_PASS            : True
COMPILE_ERROR_OUTPUT : 
PACKAGE              : Macros
RULE                 : A16-0-1

QUERY                : UseOfReservedLiteralSuffixIdentifier
SUITE                : CERT-C++
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-14 17:21:42] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-14 17:21:42] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:21:42] [build-stderr]  
                       [2023-03-14 17:21:42] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-14 17:21:42] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-14 17:21:42] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-14 17:21:42] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-14 17:21:42] [build-stderr]  
                       [2023-03-14 17:21:42] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-14 17:21:42] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-14 17:21:42] [build-stderr]  
                       [2023-03-14 17:21:42] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:21:42] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:21:42] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-14 17:21:42] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-14 17:21:42] [build-stderr]  
                       [2023-03-14 17:21:42] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-14 17:21:42] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:21:42] [build-stderr]      ^~~~~~
                       [2023-03-14 17:21:42] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:21:42] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:21:42] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-14 17:21:42] [build-stderr]  extern char *tzname[2];
                       [2023-03-14 17:21:42] [build-stderr]               ^~~~~~
                       [2023-03-14 17:21:42] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-14 17:21:42] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:21:42] [build-stderr]                               ^
                       [2023-03-14 17:21:43] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
PACKAGE              : Naming
RULE                 : DCL51-CPP

QUERY                : RedefiningOfStandardLibraryName
SUITE                : CERT-C++
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-14 17:21:42] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-14 17:21:42] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:21:42] [build-stderr]  
                       [2023-03-14 17:21:42] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-14 17:21:42] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-14 17:21:42] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-14 17:21:42] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-14 17:21:42] [build-stderr]  
                       [2023-03-14 17:21:42] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-14 17:21:42] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-14 17:21:42] [build-stderr]  
                       [2023-03-14 17:21:42] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:21:42] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:21:42] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-14 17:21:42] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-14 17:21:42] [build-stderr]  
                       [2023-03-14 17:21:42] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-14 17:21:42] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:21:42] [build-stderr]      ^~~~~~
                       [2023-03-14 17:21:42] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-14 17:21:42] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:21:42] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:21:42] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-14 17:21:42] [build-stderr]  extern char *tzname[2];
                       [2023-03-14 17:21:42] [build-stderr]               ^~~~~~
                       [2023-03-14 17:21:42] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-14 17:21:42] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:21:42] [build-stderr]                               ^
                       [2023-03-14 17:21:43] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
PACKAGE              : Naming
RULE                 : DCL51-CPP

QUERY                : ReuseOfReservedIdentifier
SUITE                : CERT-C++
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-14 17:21:43] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-14 17:21:43] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-14 17:21:43] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-14 17:21:43] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-14 17:21:43] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:21:43] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:21:43] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-14 17:21:43] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-14 17:21:43] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:21:43] [build-stderr]      ^~~~~~
                       [2023-03-14 17:21:43] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:21:43] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:21:43] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-14 17:21:43] [build-stderr]  extern char *tzname[2];
                       [2023-03-14 17:21:43] [build-stderr]               ^~~~~~
                       [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-14 17:21:43] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:21:43] [build-stderr]                               ^
                       [2023-03-14 17:21:43] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
PACKAGE              : Naming
RULE                 : DCL51-CPP

QUERY                : ObjectReusesReservedName
SUITE                : CERT-C++
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-14 17:21:43] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-14 17:21:43] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-14 17:21:43] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-14 17:21:43] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-14 17:21:43] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:21:43] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:21:43] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-14 17:21:43] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-14 17:21:43] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:21:43] [build-stderr]      ^~~~~~
                       [2023-03-14 17:21:43] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:21:43] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:21:43] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-14 17:21:43] [build-stderr]  extern char *tzname[2];
                       [2023-03-14 17:21:43] [build-stderr]               ^~~~~~
                       [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-14 17:21:43] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:21:43] [build-stderr]                               ^
                       [2023-03-14 17:21:43] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
PACKAGE              : Naming
RULE                 : DCL51-CPP

QUERY                : UseOfSingleUnderscoreReservedPrefix
SUITE                : CERT-C++
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-14 17:21:43] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-14 17:21:43] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-14 17:21:43] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-14 17:21:43] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-14 17:21:43] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:21:43] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:21:43] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-14 17:21:43] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-14 17:21:43] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:21:43] [build-stderr]      ^~~~~~
                       [2023-03-14 17:21:43] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:21:43] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:21:43] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-14 17:21:43] [build-stderr]  extern char *tzname[2];
                       [2023-03-14 17:21:43] [build-stderr]               ^~~~~~
                       [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-14 17:21:43] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:21:43] [build-stderr]                               ^
                       [2023-03-14 17:21:43] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
PACKAGE              : Naming
RULE                 : DCL51-CPP

QUERY                : EnumeratorReusesReservedName
SUITE                : CERT-C++
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-14 17:21:43] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-14 17:21:43] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-14 17:21:43] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-14 17:21:43] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-14 17:21:43] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:21:43] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:21:43] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-14 17:21:43] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-14 17:21:43] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:21:43] [build-stderr]      ^~~~~~
                       [2023-03-14 17:21:43] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:21:43] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:21:43] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-14 17:21:43] [build-stderr]  extern char *tzname[2];
                       [2023-03-14 17:21:43] [build-stderr]               ^~~~~~
                       [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-14 17:21:43] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:21:43] [build-stderr]                               ^
                       [2023-03-14 17:21:43] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
PACKAGE              : Naming
RULE                 : DCL51-CPP

QUERY                : FunctionReusesReservedName
SUITE                : CERT-C++
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-14 17:21:43] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-14 17:21:43] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-14 17:21:43] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-14 17:21:43] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-14 17:21:43] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:21:43] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:21:43] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-14 17:21:43] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-14 17:21:43] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:21:43] [build-stderr]      ^~~~~~
                       [2023-03-14 17:21:43] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:21:43] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:21:43] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-14 17:21:43] [build-stderr]  extern char *tzname[2];
                       [2023-03-14 17:21:43] [build-stderr]               ^~~~~~
                       [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-14 17:21:43] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:21:43] [build-stderr]                               ^
                       [2023-03-14 17:21:43] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
PACKAGE              : Naming
RULE                 : DCL51-CPP

QUERY                : UseOfDoubleUnderscoreReservedPrefix
SUITE                : CERT-C++
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-14 17:21:43] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-14 17:21:43] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-14 17:21:43] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-14 17:21:43] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-14 17:21:43] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:21:43] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:21:43] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-14 17:21:43] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-14 17:21:43] [build-stderr]  
                       [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-14 17:21:43] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:21:43] [build-stderr]      ^~~~~~
                       [2023-03-14 17:21:43] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-14 17:21:43] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:21:43] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:21:43] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-14 17:21:43] [build-stderr]  extern char *tzname[2];
                       [2023-03-14 17:21:43] [build-stderr]               ^~~~~~
                       [2023-03-14 17:21:43] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-14 17:21:43] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:21:43] [build-stderr]                               ^
                       [2023-03-14 17:21:44] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
PACKAGE              : Naming
RULE                 : DCL51-CPP


@github-actions
Copy link

🤖 Beep Boop! Matrix Testing for this PR has been initiated. Please check back later for results.

💡 If you do not hear back from me please check my status! I will report even if this PR does not contain files eligible for matrix testing.

@jsinglet
Copy link
Contributor

🤖 Beep Boop! gcc/c/X86_64 Matrix Testing for this PR has been completed but I didn't find anything to test!

@jsinglet
Copy link
Contributor

🤖 Beep Boop! clang/c/X86_64 Matrix Testing for this PR has been completed but I didn't find anything to test!

@jsinglet
Copy link
Contributor

🤖 Beep Boop! gcc/cpp/X86_64 Matrix Testing for this PR has been completed. See below for the results!


RULE                 : A16-0-1
SUITE                : AUTOSAR
COMPILE_ERROR_OUTPUT : 
QUERY                : PreProcessorShallOnlyBeUsedForCertainDirectivesPatterns
TEST_PASS            : True
COMPILE_PASS         : True
TEST_DIFFERENCE      : 
PACKAGE              : Macros

RULE                 : DCL51-CPP
SUITE                : CERT-C++
COMPILE_ERROR_OUTPUT : [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-14 17:38:04] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-14 17:38:04] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-14 17:38:04] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-14 17:38:04] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-14 17:38:04] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]      ^~~~~~
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-14 17:38:04] [build-stderr]  extern char *tzname[2];
                       [2023-03-14 17:38:04] [build-stderr]               ^~~~~~
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-14 17:38:04] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]                               ^
                       [2023-03-14 17:38:05] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
QUERY                : UseOfDoubleUnderscoreReservedPrefix
TEST_PASS            : False
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
PACKAGE              : Naming

RULE                 : DCL51-CPP
SUITE                : CERT-C++
COMPILE_ERROR_OUTPUT : [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-14 17:38:04] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-14 17:38:04] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-14 17:38:04] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-14 17:38:04] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-14 17:38:04] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]      ^~~~~~
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-14 17:38:04] [build-stderr]  extern char *tzname[2];
                       [2023-03-14 17:38:04] [build-stderr]               ^~~~~~
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-14 17:38:04] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]                               ^
                       [2023-03-14 17:38:05] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
QUERY                : UseOfReservedLiteralSuffixIdentifier
TEST_PASS            : False
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
PACKAGE              : Naming

RULE                 : DCL51-CPP
SUITE                : CERT-C++
COMPILE_ERROR_OUTPUT : [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-14 17:38:04] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-14 17:38:04] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-14 17:38:04] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-14 17:38:04] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-14 17:38:04] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]      ^~~~~~
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-14 17:38:04] [build-stderr]  extern char *tzname[2];
                       [2023-03-14 17:38:04] [build-stderr]               ^~~~~~
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-14 17:38:04] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]                               ^
                       [2023-03-14 17:38:05] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
QUERY                : ReuseOfReservedIdentifier
TEST_PASS            : False
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
PACKAGE              : Naming

RULE                 : DCL51-CPP
SUITE                : CERT-C++
COMPILE_ERROR_OUTPUT : [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-14 17:38:04] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-14 17:38:04] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-14 17:38:04] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-14 17:38:04] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-14 17:38:04] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]      ^~~~~~
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-14 17:38:04] [build-stderr]  extern char *tzname[2];
                       [2023-03-14 17:38:04] [build-stderr]               ^~~~~~
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-14 17:38:04] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]                               ^
                       [2023-03-14 17:38:05] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
QUERY                : UseOfSingleUnderscoreReservedPrefix
TEST_PASS            : False
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
PACKAGE              : Naming

RULE                 : DCL51-CPP
SUITE                : CERT-C++
COMPILE_ERROR_OUTPUT : [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-14 17:38:04] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-14 17:38:04] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-14 17:38:04] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-14 17:38:04] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-14 17:38:04] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]      ^~~~~~
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-14 17:38:04] [build-stderr]  extern char *tzname[2];
                       [2023-03-14 17:38:04] [build-stderr]               ^~~~~~
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-14 17:38:04] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]                               ^
                       [2023-03-14 17:38:05] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
QUERY                : RedefiningOfStandardLibraryName
TEST_PASS            : False
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
PACKAGE              : Naming

RULE                 : DCL51-CPP
SUITE                : CERT-C++
COMPILE_ERROR_OUTPUT : [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-14 17:38:04] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-14 17:38:04] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-14 17:38:04] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-14 17:38:04] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-14 17:38:04] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]      ^~~~~~
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-14 17:38:04] [build-stderr]  extern char *tzname[2];
                       [2023-03-14 17:38:04] [build-stderr]               ^~~~~~
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-14 17:38:04] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]                               ^
                       [2023-03-14 17:38:05] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
QUERY                : EnumeratorReusesReservedName
TEST_PASS            : False
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
PACKAGE              : Naming

RULE                 : DCL51-CPP
SUITE                : CERT-C++
COMPILE_ERROR_OUTPUT : [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-14 17:38:04] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-14 17:38:04] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-14 17:38:04] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-14 17:38:04] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-14 17:38:04] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]      ^~~~~~
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-14 17:38:04] [build-stderr]  extern char *tzname[2];
                       [2023-03-14 17:38:04] [build-stderr]               ^~~~~~
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-14 17:38:04] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]                               ^
                       [2023-03-14 17:38:05] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
QUERY                : ObjectReusesReservedName
TEST_PASS            : False
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
PACKAGE              : Naming

RULE                 : DCL51-CPP
SUITE                : CERT-C++
COMPILE_ERROR_OUTPUT : [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7: warning: "SIZE_MAX" redefined
                       [2023-03-14 17:38:04] [build-stderr]  #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/lib/gcc/x86_64-linux-gnu/8/include/stdint.h:9,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/cstdint:41,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:1:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/stdint.h:227: note: this is the location of the previous definition
                       [2023-03-14 17:38:04] [build-stderr]  #  define SIZE_MAX  (18446744073709551615UL)
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37: warning: "FD_SET" redefined
                       [2023-03-14 17:38:04] [build-stderr]  #define FD_SET(X)                                                              \
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/stdlib.h:394,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/cstdlib:75,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/ext/string_conversions.h:41,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:6400,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85: note: this is the location of the previous definition
                       [2023-03-14 17:38:04] [build-stderr]  #define FD_SET(fd, fdsetp) __FD_SET (fd, fdsetp)
                       [2023-03-14 17:38:04] [build-stderr]  
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: conflicting declaration 'int tzname'
                       [2023-03-14 17:38:04] [build-stderr]  int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]      ^~~~~~
                       [2023-03-14 17:38:04] [build-stderr] In file included from /usr/include/pthread.h:23,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr-default.h:35,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/x86_64-linux-gnu/c++/8/bits/gthr.h:148,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/ext/atomicity.h:35,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/bits/basic_string.h:39,
                       [2023-03-14 17:38:04] [build-stderr]                  from /usr/include/c++/8/string:52,
                       [2023-03-14 17:38:04] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:2:
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/time.h:166:14: note: previous declaration as 'char* tzname [2]'
                       [2023-03-14 17:38:04] [build-stderr]  extern char *tzname[2];
                       [2023-03-14 17:38:04] [build-stderr]               ^~~~~~
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:30: warning: literal operator suffixes not preceded by '_' are reserved for future standardization [-Wliteral-suffix]
                       [2023-03-14 17:38:04] [build-stderr]  void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]                               ^
                       [2023-03-14 17:38:05] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
QUERY                : FunctionReusesReservedName
TEST_PASS            : False
COMPILE_PASS         : False
TEST_DIFFERENCE      : 
PACKAGE              : Naming


@jsinglet
Copy link
Contributor

🤖 Beep Boop! clang/cpp/X86_64 Matrix Testing for this PR has been completed. See below for the results!


TEST_PASS            : True
COMPILE_ERROR_OUTPUT : 
SUITE                : AUTOSAR
QUERY                : PreProcessorShallOnlyBeUsedForCertainDirectivesPatterns
COMPILE_PASS         : True
RULE                 : A16-0-1
PACKAGE              : Macros
TEST_DIFFERENCE      : 

TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:38:04] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-14 17:38:04] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-14 17:38:04] [build-stderr]           ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-14 17:38:04] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]     ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-14 17:38:04] [build-stderr] extern char *tzname[2];
                       [2023-03-14 17:38:04] [build-stderr]              ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-14 17:38:04] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]      ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:38:04] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-14 17:38:04] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-14 17:38:05] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
SUITE                : CERT-C++
QUERY                : UseOfDoubleUnderscoreReservedPrefix
COMPILE_PASS         : False
RULE                 : DCL51-CPP
PACKAGE              : Naming
TEST_DIFFERENCE      : 

TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:38:04] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-14 17:38:04] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-14 17:38:04] [build-stderr]           ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-14 17:38:04] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]     ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-14 17:38:04] [build-stderr] extern char *tzname[2];
                       [2023-03-14 17:38:04] [build-stderr]              ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-14 17:38:04] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]      ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:38:04] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-14 17:38:04] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-14 17:38:05] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
SUITE                : CERT-C++
QUERY                : UseOfSingleUnderscoreReservedPrefix
COMPILE_PASS         : False
RULE                 : DCL51-CPP
PACKAGE              : Naming
TEST_DIFFERENCE      : 

TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:38:04] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-14 17:38:04] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-14 17:38:04] [build-stderr]           ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-14 17:38:04] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]     ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-14 17:38:04] [build-stderr] extern char *tzname[2];
                       [2023-03-14 17:38:04] [build-stderr]              ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-14 17:38:04] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]      ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:38:04] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-14 17:38:04] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-14 17:38:05] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
SUITE                : CERT-C++
QUERY                : UseOfReservedLiteralSuffixIdentifier
COMPILE_PASS         : False
RULE                 : DCL51-CPP
PACKAGE              : Naming
TEST_DIFFERENCE      : 

TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:38:04] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-14 17:38:04] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-14 17:38:04] [build-stderr]           ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-14 17:38:04] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]     ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-14 17:38:04] [build-stderr] extern char *tzname[2];
                       [2023-03-14 17:38:04] [build-stderr]              ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-14 17:38:04] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]      ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:38:04] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-14 17:38:04] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-14 17:38:05] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
SUITE                : CERT-C++
QUERY                : FunctionReusesReservedName
COMPILE_PASS         : False
RULE                 : DCL51-CPP
PACKAGE              : Naming
TEST_DIFFERENCE      : 

TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:38:04] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-14 17:38:04] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-14 17:38:04] [build-stderr]           ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-14 17:38:04] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]     ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-14 17:38:04] [build-stderr] extern char *tzname[2];
                       [2023-03-14 17:38:04] [build-stderr]              ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-14 17:38:04] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]      ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:38:04] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-14 17:38:04] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-14 17:38:05] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
SUITE                : CERT-C++
QUERY                : ObjectReusesReservedName
COMPILE_PASS         : False
RULE                 : DCL51-CPP
PACKAGE              : Naming
TEST_DIFFERENCE      : 

TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:38:04] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-14 17:38:04] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-14 17:38:04] [build-stderr]           ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-14 17:38:04] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]     ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-14 17:38:04] [build-stderr] extern char *tzname[2];
                       [2023-03-14 17:38:04] [build-stderr]              ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-14 17:38:04] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]      ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:38:04] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-14 17:38:04] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-14 17:38:05] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
SUITE                : CERT-C++
QUERY                : ReuseOfReservedIdentifier
COMPILE_PASS         : False
RULE                 : DCL51-CPP
PACKAGE              : Naming
TEST_DIFFERENCE      : 

TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:38:04] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-14 17:38:04] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-14 17:38:04] [build-stderr]           ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-14 17:38:04] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]     ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-14 17:38:04] [build-stderr] extern char *tzname[2];
                       [2023-03-14 17:38:04] [build-stderr]              ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-14 17:38:04] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]      ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:38:04] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-14 17:38:04] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-14 17:38:05] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
SUITE                : CERT-C++
QUERY                : RedefiningOfStandardLibraryName
COMPILE_PASS         : False
RULE                 : DCL51-CPP
PACKAGE              : Naming
TEST_DIFFERENCE      : 

TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:7:9: warning: 'SIZE_MAX' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:38:04] [build-stderr] #define SIZE_MAX 256 // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/stdint.h:227:11: note: previous definition is here
                       [2023-03-14 17:38:04] [build-stderr] #  define SIZE_MAX              (18446744073709551615UL)
                       [2023-03-14 17:38:04] [build-stderr]           ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:18:5: error: redefinition of 'tzname' with a different type: 'int' vs 'char *[2]'
                       [2023-03-14 17:38:04] [build-stderr] int tzname = 0; // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]     ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/time.h:166:14: note: previous declaration is here
                       [2023-03-14 17:38:04] [build-stderr] extern char *tzname[2];
                       [2023-03-14 17:38:04] [build-stderr]              ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:22:6: warning: user-defined literal suffixes not starting with '_' are reserved; no literal will invoke this operator [-Wuser-defined-literals]
                       [2023-03-14 17:38:04] [build-stderr] void operator"" x(long double);  // NON_COMPLIANT
                       [2023-03-14 17:38:04] [build-stderr]      ^
                       [2023-03-14 17:38:04] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp:37:9: warning: 'FD_SET' macro redefined [-Wmacro-redefined]
                       [2023-03-14 17:38:04] [build-stderr] #define FD_SET(X)                                                              \
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] /usr/include/x86_64-linux-gnu/sys/select.h:85:9: note: previous definition is here
                       [2023-03-14 17:38:04] [build-stderr] #define FD_SET(fd, fdsetp)      __FD_SET (fd, fdsetp)
                       [2023-03-14 17:38:04] [build-stderr]         ^
                       [2023-03-14 17:38:04] [build-stderr] 3 warnings and 1 error generated.
                       [2023-03-14 17:38:05] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, clang++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/cert/test/rules/DCL51-CPP/test.cpp])
                       
SUITE                : CERT-C++
QUERY                : EnumeratorReusesReservedName
COMPILE_PASS         : False
RULE                 : DCL51-CPP
PACKAGE              : Naming
TEST_DIFFERENCE      : 


@knewbury01 knewbury01 added this pull request to the merge queue Mar 14, 2023
Merged via the queue into github:main with commit f8c9158 Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

A16-0-1: Exclude #pragma DCL51-CPP: Use of __func__ is considered a declaration of __func__.
3 participants