Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixes for #215, 232 FP reports#245

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
knewbury01 merged 5 commits intogithub:mainfromknewbury01:knewbury01/FP-fixes
Mar 14, 2023

Conversation

@knewbury01
Copy link
Collaborator

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 ofshared 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 thestyle 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 thestyle 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                : PreProcessorShallOnlyBeUsedForCertainDirectivesPatternsPACKAGE              : MacrosCOMPILE_ERROR_OUTPUT : SUITE                : AUTOSARTEST_PASS            : TrueCOMPILE_PASS         : TrueRULE                 : A16-0-1TEST_DIFFERENCE      : QUERY                : UseOfReservedLiteralSuffixIdentifierPACKAGE              : NamingCOMPILE_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            : FalseCOMPILE_PASS         : FalseRULE                 : DCL51-CPPTEST_DIFFERENCE      : QUERY                : ReuseOfReservedIdentifierPACKAGE              : NamingCOMPILE_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            : FalseCOMPILE_PASS         : FalseRULE                 : DCL51-CPPTEST_DIFFERENCE      : QUERY                : UseOfDoubleUnderscoreReservedPrefixPACKAGE              : NamingCOMPILE_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            : FalseCOMPILE_PASS         : FalseRULE                 : DCL51-CPPTEST_DIFFERENCE      : QUERY                : FunctionReusesReservedNamePACKAGE              : NamingCOMPILE_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            : FalseCOMPILE_PASS         : FalseRULE                 : DCL51-CPPTEST_DIFFERENCE      : QUERY                : RedefiningOfStandardLibraryNamePACKAGE              : NamingCOMPILE_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            : FalseCOMPILE_PASS         : FalseRULE                 : DCL51-CPPTEST_DIFFERENCE      : QUERY                : UseOfSingleUnderscoreReservedPrefixPACKAGE              : NamingCOMPILE_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            : FalseCOMPILE_PASS         : FalseRULE                 : DCL51-CPPTEST_DIFFERENCE      : QUERY                : ObjectReusesReservedNamePACKAGE              : NamingCOMPILE_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            : FalseCOMPILE_PASS         : FalseRULE                 : DCL51-CPPTEST_DIFFERENCE      : QUERY                : EnumeratorReusesReservedNamePACKAGE              : NamingCOMPILE_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            : FalseCOMPILE_PASS         : FalseRULE                 : 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            : TrueCOMPILE_ERROR_OUTPUT : QUERY                : PreProcessorShallOnlyBeUsedForCertainDirectivesPatternsSUITE                : AUTOSARCOMPILE_PASS         : TrueTEST_DIFFERENCE      : PACKAGE              : MacrosRULE                 : A16-0-1TEST_PASS            : FalseCOMPILE_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                : RedefiningOfStandardLibraryNameSUITE                : CERT-C++COMPILE_PASS         : FalseTEST_DIFFERENCE      : PACKAGE              : NamingRULE                 : DCL51-CPPTEST_PASS            : FalseCOMPILE_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                : ReuseOfReservedIdentifierSUITE                : CERT-C++COMPILE_PASS         : FalseTEST_DIFFERENCE      : PACKAGE              : NamingRULE                 : DCL51-CPPTEST_PASS            : FalseCOMPILE_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                : UseOfDoubleUnderscoreReservedPrefixSUITE                : CERT-C++COMPILE_PASS         : FalseTEST_DIFFERENCE      : PACKAGE              : NamingRULE                 : DCL51-CPPTEST_PASS            : FalseCOMPILE_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                : FunctionReusesReservedNameSUITE                : CERT-C++COMPILE_PASS         : FalseTEST_DIFFERENCE      : PACKAGE              : NamingRULE                 : DCL51-CPPTEST_PASS            : FalseCOMPILE_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                : UseOfReservedLiteralSuffixIdentifierSUITE                : CERT-C++COMPILE_PASS         : FalseTEST_DIFFERENCE      : PACKAGE              : NamingRULE                 : DCL51-CPPTEST_PASS            : FalseCOMPILE_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                : EnumeratorReusesReservedNameSUITE                : CERT-C++COMPILE_PASS         : FalseTEST_DIFFERENCE      : PACKAGE              : NamingRULE                 : DCL51-CPPTEST_PASS            : FalseCOMPILE_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                : UseOfSingleUnderscoreReservedPrefixSUITE                : CERT-C++COMPILE_PASS         : FalseTEST_DIFFERENCE      : PACKAGE              : NamingRULE                 : DCL51-CPPTEST_PASS            : FalseCOMPILE_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                : ObjectReusesReservedNameSUITE                : CERT-C++COMPILE_PASS         : FalseTEST_DIFFERENCE      : PACKAGE              : NamingRULE                 : DCL51-CPP

@jsinglet
Copy link
Contributor

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

@knewbury01knewbury01 self-assigned thisMar 10, 2023
Copy link
Contributor

@lcarteylcartey left a comment

Choose a reason for hiding this comment

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

👍

knewbury01 reacted with heart emoji
@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-1TEST_PASS            : TrueCOMPILE_PASS         : TrueSUITE                : AUTOSARPACKAGE              : MacrosQUERY                : PreProcessorShallOnlyBeUsedForCertainDirectivesPatternsCOMPILE_ERROR_OUTPUT : TEST_DIFFERENCE      : RULE                 : DCL51-CPPTEST_PASS            : FalseCOMPILE_PASS         : FalseSUITE                : CERT-C++PACKAGE              : NamingQUERY                : UseOfDoubleUnderscoreReservedPrefixCOMPILE_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-CPPTEST_PASS            : FalseCOMPILE_PASS         : FalseSUITE                : CERT-C++PACKAGE              : NamingQUERY                : ReuseOfReservedIdentifierCOMPILE_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-CPPTEST_PASS            : FalseCOMPILE_PASS         : FalseSUITE                : CERT-C++PACKAGE              : NamingQUERY                : ObjectReusesReservedNameCOMPILE_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-CPPTEST_PASS            : FalseCOMPILE_PASS         : FalseSUITE                : CERT-C++PACKAGE              : NamingQUERY                : RedefiningOfStandardLibraryNameCOMPILE_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-CPPTEST_PASS            : FalseCOMPILE_PASS         : FalseSUITE                : CERT-C++PACKAGE              : NamingQUERY                : UseOfSingleUnderscoreReservedPrefixCOMPILE_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-CPPTEST_PASS            : FalseCOMPILE_PASS         : FalseSUITE                : CERT-C++PACKAGE              : NamingQUERY                : EnumeratorReusesReservedNameCOMPILE_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-CPPTEST_PASS            : FalseCOMPILE_PASS         : FalseSUITE                : CERT-C++PACKAGE              : NamingQUERY                : FunctionReusesReservedNameCOMPILE_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-CPPTEST_PASS            : FalseCOMPILE_PASS         : FalseSUITE                : CERT-C++PACKAGE              : NamingQUERY                : UseOfReservedLiteralSuffixIdentifierCOMPILE_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                : PreProcessorShallOnlyBeUsedForCertainDirectivesPatternsSUITE                : AUTOSARCOMPILE_PASS         : TrueTEST_DIFFERENCE      : TEST_PASS            : TrueCOMPILE_ERROR_OUTPUT : PACKAGE              : MacrosRULE                 : A16-0-1QUERY                : UseOfReservedLiteralSuffixIdentifierSUITE                : CERT-C++COMPILE_PASS         : FalseTEST_DIFFERENCE      : TEST_PASS            : FalseCOMPILE_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              : NamingRULE                 : DCL51-CPPQUERY                : RedefiningOfStandardLibraryNameSUITE                : CERT-C++COMPILE_PASS         : FalseTEST_DIFFERENCE      : TEST_PASS            : FalseCOMPILE_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              : NamingRULE                 : DCL51-CPPQUERY                : ReuseOfReservedIdentifierSUITE                : CERT-C++COMPILE_PASS         : FalseTEST_DIFFERENCE      : TEST_PASS            : FalseCOMPILE_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              : NamingRULE                 : DCL51-CPPQUERY                : ObjectReusesReservedNameSUITE                : CERT-C++COMPILE_PASS         : FalseTEST_DIFFERENCE      : TEST_PASS            : FalseCOMPILE_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              : NamingRULE                 : DCL51-CPPQUERY                : UseOfSingleUnderscoreReservedPrefixSUITE                : CERT-C++COMPILE_PASS         : FalseTEST_DIFFERENCE      : TEST_PASS            : FalseCOMPILE_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              : NamingRULE                 : DCL51-CPPQUERY                : EnumeratorReusesReservedNameSUITE                : CERT-C++COMPILE_PASS         : FalseTEST_DIFFERENCE      : TEST_PASS            : FalseCOMPILE_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              : NamingRULE                 : DCL51-CPPQUERY                : FunctionReusesReservedNameSUITE                : CERT-C++COMPILE_PASS         : FalseTEST_DIFFERENCE      : TEST_PASS            : FalseCOMPILE_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              : NamingRULE                 : DCL51-CPPQUERY                : UseOfDoubleUnderscoreReservedPrefixSUITE                : CERT-C++COMPILE_PASS         : FalseTEST_DIFFERENCE      : TEST_PASS            : FalseCOMPILE_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              : NamingRULE                 : 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-1SUITE                : AUTOSARCOMPILE_ERROR_OUTPUT : QUERY                : PreProcessorShallOnlyBeUsedForCertainDirectivesPatternsTEST_PASS            : TrueCOMPILE_PASS         : TrueTEST_DIFFERENCE      : PACKAGE              : MacrosRULE                 : DCL51-CPPSUITE                : 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                : UseOfDoubleUnderscoreReservedPrefixTEST_PASS            : FalseCOMPILE_PASS         : FalseTEST_DIFFERENCE      : PACKAGE              : NamingRULE                 : DCL51-CPPSUITE                : 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                : UseOfReservedLiteralSuffixIdentifierTEST_PASS            : FalseCOMPILE_PASS         : FalseTEST_DIFFERENCE      : PACKAGE              : NamingRULE                 : DCL51-CPPSUITE                : 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                : ReuseOfReservedIdentifierTEST_PASS            : FalseCOMPILE_PASS         : FalseTEST_DIFFERENCE      : PACKAGE              : NamingRULE                 : DCL51-CPPSUITE                : 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                : UseOfSingleUnderscoreReservedPrefixTEST_PASS            : FalseCOMPILE_PASS         : FalseTEST_DIFFERENCE      : PACKAGE              : NamingRULE                 : DCL51-CPPSUITE                : 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                : RedefiningOfStandardLibraryNameTEST_PASS            : FalseCOMPILE_PASS         : FalseTEST_DIFFERENCE      : PACKAGE              : NamingRULE                 : DCL51-CPPSUITE                : 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                : EnumeratorReusesReservedNameTEST_PASS            : FalseCOMPILE_PASS         : FalseTEST_DIFFERENCE      : PACKAGE              : NamingRULE                 : DCL51-CPPSUITE                : 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                : ObjectReusesReservedNameTEST_PASS            : FalseCOMPILE_PASS         : FalseTEST_DIFFERENCE      : PACKAGE              : NamingRULE                 : DCL51-CPPSUITE                : 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                : FunctionReusesReservedNameTEST_PASS            : FalseCOMPILE_PASS         : FalseTEST_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            : TrueCOMPILE_ERROR_OUTPUT : SUITE                : AUTOSARQUERY                : PreProcessorShallOnlyBeUsedForCertainDirectivesPatternsCOMPILE_PASS         : TrueRULE                 : A16-0-1PACKAGE              : MacrosTEST_DIFFERENCE      : TEST_PASS            : FalseCOMPILE_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                : UseOfDoubleUnderscoreReservedPrefixCOMPILE_PASS         : FalseRULE                 : DCL51-CPPPACKAGE              : NamingTEST_DIFFERENCE      : TEST_PASS            : FalseCOMPILE_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                : UseOfSingleUnderscoreReservedPrefixCOMPILE_PASS         : FalseRULE                 : DCL51-CPPPACKAGE              : NamingTEST_DIFFERENCE      : TEST_PASS            : FalseCOMPILE_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                : UseOfReservedLiteralSuffixIdentifierCOMPILE_PASS         : FalseRULE                 : DCL51-CPPPACKAGE              : NamingTEST_DIFFERENCE      : TEST_PASS            : FalseCOMPILE_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                : FunctionReusesReservedNameCOMPILE_PASS         : FalseRULE                 : DCL51-CPPPACKAGE              : NamingTEST_DIFFERENCE      : TEST_PASS            : FalseCOMPILE_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                : ObjectReusesReservedNameCOMPILE_PASS         : FalseRULE                 : DCL51-CPPPACKAGE              : NamingTEST_DIFFERENCE      : TEST_PASS            : FalseCOMPILE_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                : ReuseOfReservedIdentifierCOMPILE_PASS         : FalseRULE                 : DCL51-CPPPACKAGE              : NamingTEST_DIFFERENCE      : TEST_PASS            : FalseCOMPILE_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                : RedefiningOfStandardLibraryNameCOMPILE_PASS         : FalseRULE                 : DCL51-CPPPACKAGE              : NamingTEST_DIFFERENCE      : TEST_PASS            : FalseCOMPILE_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                : EnumeratorReusesReservedNameCOMPILE_PASS         : FalseRULE                 : DCL51-CPPPACKAGE              : NamingTEST_DIFFERENCE      :

@knewbury01knewbury01 added this pull request to themerge queueMar 14, 2023
Merged via the queue intogithub:main with commitf8c9158Mar 14, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@lcarteylcarteylcartey approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

@knewbury01knewbury01

Labels

None yet

Projects

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

A16-0-1: Exclude#pragmaDCL51-CPP: Use of__func__ is considered a declaration of__func__.

3 participants

@knewbury01@jsinglet@lcartey

[8]ページ先頭

©2009-2025 Movatter.jp