Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contracts6 #204

Merged
merged 15 commits into from Feb 27, 2023
Merged

Contracts6 #204

merged 15 commits into from Feb 27, 2023

Conversation

mbaluda
Copy link
Contributor

@mbaluda mbaluda commented Feb 27, 2023

Description

  • EXP40-C
  • RULE-17-5
  • RULE-17-7

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:
  • EXP40-C
  • RULE-17-5
  • RULE-17-7
  • Queries have been modified for the following rules:
    • rule number here

Release change checklist

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

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

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

Author: Is a change note required?

  • Yes
  • No

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

  • Confirmed

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

  • Confirmed

Query development review checklist

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

Author

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

Reviewer

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

@mbaluda mbaluda self-assigned this Feb 27, 2023
@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.

@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. See below for the results!


COMPILE_ERROR_OUTPUT : 
COMPILE_PASS         : True
TEST_PASS            : True
TEST_DIFFERENCE      : 
QUERY                : DoNotModifyConstantObjects
RULE                 : EXP40-C
PACKAGE              : Contracts6
SUITE                : CERT-C

COMPILE_ERROR_OUTPUT : 
COMPILE_PASS         : True
TEST_PASS            : True
TEST_DIFFERENCE      : 
QUERY                : ArrayFunctionArgumentNumberOfElements
RULE                 : RULE-17-5
PACKAGE              : Contracts6
SUITE                : MISRA-C-2012

COMPILE_ERROR_OUTPUT : 
COMPILE_PASS         : True
TEST_PASS            : True
TEST_DIFFERENCE      : 
QUERY                : ValueReturnedByAFunctionNotUsed
RULE                 : RULE-17-7
PACKAGE              : Contracts6
SUITE                : MISRA-C-2012


@jsinglet
Copy link
Contributor

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


RULE                 : EXP40-C
SUITE                : CERT-C
TEST_PASS            : True
PACKAGE              : Contracts6
COMPILE_PASS         : True
COMPILE_ERROR_OUTPUT : 
QUERY                : DoNotModifyConstantObjects
TEST_DIFFERENCE      : 

RULE                 : RULE-17-5
SUITE                : MISRA-C-2012
TEST_PASS            : True
PACKAGE              : Contracts6
COMPILE_PASS         : True
COMPILE_ERROR_OUTPUT : 
QUERY                : ArrayFunctionArgumentNumberOfElements
TEST_DIFFERENCE      : 

RULE                 : RULE-17-7
SUITE                : MISRA-C-2012
TEST_PASS            : True
PACKAGE              : Contracts6
COMPILE_PASS         : True
COMPILE_ERROR_OUTPUT : 
QUERY                : ValueReturnedByAFunctionNotUsed
TEST_DIFFERENCE      : 


@jsinglet
Copy link
Contributor

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


PACKAGE              : Contracts6
TEST_DIFFERENCE      : 
COMPILE_PASS         : True
COMPILE_ERROR_OUTPUT : 
RULE                 : EXP40-C
TEST_PASS            : True
SUITE                : CERT-C
QUERY                : DoNotModifyConstantObjects

PACKAGE              : Contracts6
TEST_DIFFERENCE      : 
COMPILE_PASS         : True
COMPILE_ERROR_OUTPUT : 
RULE                 : RULE-17-5
TEST_PASS            : True
SUITE                : MISRA-C-2012
QUERY                : ArrayFunctionArgumentNumberOfElements

PACKAGE              : Contracts6
TEST_DIFFERENCE      : 
COMPILE_PASS         : True
COMPILE_ERROR_OUTPUT : 
RULE                 : RULE-17-7
TEST_PASS            : True
SUITE                : MISRA-C-2012
QUERY                : ValueReturnedByAFunctionNotUsed


@jsinglet
Copy link
Contributor

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


TEST_DIFFERENCE      : 
COMPILE_PASS         : True
QUERY                : DoNotModifyConstantObjects
TEST_PASS            : True
RULE                 : EXP40-C
COMPILE_ERROR_OUTPUT : 
PACKAGE              : Contracts6
SUITE                : CERT-C

TEST_DIFFERENCE      : 
COMPILE_PASS         : True
QUERY                : ArrayFunctionArgumentNumberOfElements
TEST_PASS            : True
RULE                 : RULE-17-5
COMPILE_ERROR_OUTPUT : 
PACKAGE              : Contracts6
SUITE                : MISRA-C-2012

TEST_DIFFERENCE      : 
COMPILE_PASS         : True
QUERY                : ValueReturnedByAFunctionNotUsed
TEST_PASS            : True
RULE                 : RULE-17-7
COMPILE_ERROR_OUTPUT : 
PACKAGE              : Contracts6
SUITE                : MISRA-C-2012


@jsinglet
Copy link
Contributor

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


SUITE                : AUTOSAR
PACKAGE              : Toolchain
QUERY                : ImplicitCopyAssignmentOperatorIsDeprecated
RULE                 : A1-1-1
COMPILE_PASS         : False
TEST_PASS            : False
TEST_DIFFERENCE      : 
COMPILE_ERROR_OUTPUT : [2023-02-27 19:25:34] [build-stderr] In file included from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp:27:
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:40:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic _Bool atomic_bool;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:41:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic char atomic_char;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:42:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic signed char atomic_schar;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:43:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned char atomic_uchar;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:44:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic short atomic_short;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:45:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned short atomic_ushort;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:46:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic int atomic_int;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:47:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned int atomic_uint;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:48:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic long atomic_long;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:49:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned long atomic_ulong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:50:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic long long atomic_llong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:51:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned long long atomic_ullong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:52:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __CHAR16_TYPE__ atomic_char16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:53:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __CHAR32_TYPE__ atomic_char32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:54:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:55:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:56:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:57:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:58:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:59:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:60:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:61:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:62:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:63:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:64:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:65:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:66:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:67:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:68:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:69:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:70:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:71:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:72:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:73:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __SIZE_TYPE__ atomic_size_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:74:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:75:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:76:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:218:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic struct
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:225:3: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  } atomic_flag;
                       [2023-02-27 19:25:34] [build-stderr]    ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]    atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:230:49: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern _Bool atomic_flag_test_and_set (volatile atomic_flag *);
                       [2023-02-27 19:25:34] [build-stderr]                                                  ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                  atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:233:58: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *,
                       [2023-02-27 19:25:34] [build-stderr]                                                           ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                           atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:238:41: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern void atomic_flag_clear (volatile atomic_flag *);
                       [2023-02-27 19:25:34] [build-stderr]                                          ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                          atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:240:50: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order);
                       [2023-02-27 19:25:34] [build-stderr]                                                   ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                   atomic_load
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:1:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]  void test_des_1() throw(int);        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:2:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]  void test_des_2() throw(int, float); // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:8:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    Foo(bool) throw(int);            // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:9:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    Foo(int, bool) throw(int, bool); // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                   ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In member function 'Ref& Ref::operator=(Ref)':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:5:24: warning: no return statement in function returning non-void [-Wreturn-type]
                       [2023-02-27 19:25:35] [build-stderr]    Ref &operator=(Ref) {}
                       [2023-02-27 19:25:35] [build-stderr]                         ^
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In function 'void test()':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:16:5: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    ++b;        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]      ^
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:17:4: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    b++;        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]     ^~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:18:11: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    r.getX()++; // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]            ^~
                       [2023-02-27 19:25:35] [build-stderr] In file included from /usr/include/c++/8/backward/strstream:50,
                       [2023-02-27 19:25:35] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:1:
                       [2023-02-27 19:25:35] [build-stderr] /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
                       [2023-02-27 19:25:35] [build-stderr]  #warning \
                       [2023-02-27 19:25:35] [build-stderr]   ^~~~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp: In function 'void test_istrstream()':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:13:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
                       [2023-02-27 19:25:35] [build-stderr]    char *s = "foo";
                       [2023-02-27 19:25:35] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:36] [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/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyAssignmentOperatorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyConstructorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/RegisterKeywordIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/test.cpp])
                       

SUITE                : AUTOSAR
PACKAGE              : Toolchain
QUERY                : CStandardLibraryHeadersAreDeprecated
RULE                 : A1-1-1
COMPILE_PASS         : False
TEST_PASS            : False
TEST_DIFFERENCE      : 
COMPILE_ERROR_OUTPUT : [2023-02-27 19:25:34] [build-stderr] In file included from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp:27:
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:40:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic _Bool atomic_bool;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:41:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic char atomic_char;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:42:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic signed char atomic_schar;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:43:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned char atomic_uchar;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:44:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic short atomic_short;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:45:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned short atomic_ushort;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:46:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic int atomic_int;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:47:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned int atomic_uint;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:48:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic long atomic_long;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:49:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned long atomic_ulong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:50:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic long long atomic_llong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:51:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned long long atomic_ullong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:52:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __CHAR16_TYPE__ atomic_char16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:53:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __CHAR32_TYPE__ atomic_char32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:54:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:55:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:56:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:57:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:58:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:59:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:60:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:61:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:62:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:63:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:64:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:65:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:66:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:67:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:68:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:69:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:70:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:71:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:72:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:73:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __SIZE_TYPE__ atomic_size_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:74:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:75:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:76:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:218:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic struct
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:225:3: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  } atomic_flag;
                       [2023-02-27 19:25:34] [build-stderr]    ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]    atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:230:49: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern _Bool atomic_flag_test_and_set (volatile atomic_flag *);
                       [2023-02-27 19:25:34] [build-stderr]                                                  ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                  atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:233:58: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *,
                       [2023-02-27 19:25:34] [build-stderr]                                                           ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                           atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:238:41: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern void atomic_flag_clear (volatile atomic_flag *);
                       [2023-02-27 19:25:34] [build-stderr]                                          ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                          atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:240:50: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order);
                       [2023-02-27 19:25:34] [build-stderr]                                                   ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                   atomic_load
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:1:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]  void test_des_1() throw(int);        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:2:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]  void test_des_2() throw(int, float); // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:8:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    Foo(bool) throw(int);            // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:9:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    Foo(int, bool) throw(int, bool); // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                   ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In member function 'Ref& Ref::operator=(Ref)':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:5:24: warning: no return statement in function returning non-void [-Wreturn-type]
                       [2023-02-27 19:25:35] [build-stderr]    Ref &operator=(Ref) {}
                       [2023-02-27 19:25:35] [build-stderr]                         ^
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In function 'void test()':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:16:5: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    ++b;        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]      ^
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:17:4: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    b++;        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]     ^~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:18:11: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    r.getX()++; // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]            ^~
                       [2023-02-27 19:25:35] [build-stderr] In file included from /usr/include/c++/8/backward/strstream:50,
                       [2023-02-27 19:25:35] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:1:
                       [2023-02-27 19:25:35] [build-stderr] /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
                       [2023-02-27 19:25:35] [build-stderr]  #warning \
                       [2023-02-27 19:25:35] [build-stderr]   ^~~~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp: In function 'void test_istrstream()':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:13:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
                       [2023-02-27 19:25:35] [build-stderr]    char *s = "foo";
                       [2023-02-27 19:25:35] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:36] [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/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyAssignmentOperatorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyConstructorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/RegisterKeywordIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/test.cpp])
                       

SUITE                : AUTOSAR
PACKAGE              : Toolchain
QUERY                : DynamicExceptionsAreDeprecated
RULE                 : A1-1-1
COMPILE_PASS         : False
TEST_PASS            : False
TEST_DIFFERENCE      : 
COMPILE_ERROR_OUTPUT : [2023-02-27 19:25:34] [build-stderr] In file included from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp:27:
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:40:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic _Bool atomic_bool;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:41:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic char atomic_char;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:42:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic signed char atomic_schar;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:43:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned char atomic_uchar;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:44:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic short atomic_short;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:45:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned short atomic_ushort;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:46:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic int atomic_int;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:47:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned int atomic_uint;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:48:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic long atomic_long;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:49:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned long atomic_ulong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:50:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic long long atomic_llong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:51:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned long long atomic_ullong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:52:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __CHAR16_TYPE__ atomic_char16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:53:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __CHAR32_TYPE__ atomic_char32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:54:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:55:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:56:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:57:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:58:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:59:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:60:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:61:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:62:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:63:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:64:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:65:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:66:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:67:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:68:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:69:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:70:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:71:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:72:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:73:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __SIZE_TYPE__ atomic_size_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:74:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:75:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:76:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:218:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic struct
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:225:3: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  } atomic_flag;
                       [2023-02-27 19:25:34] [build-stderr]    ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]    atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:230:49: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern _Bool atomic_flag_test_and_set (volatile atomic_flag *);
                       [2023-02-27 19:25:34] [build-stderr]                                                  ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                  atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:233:58: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *,
                       [2023-02-27 19:25:34] [build-stderr]                                                           ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                           atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:238:41: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern void atomic_flag_clear (volatile atomic_flag *);
                       [2023-02-27 19:25:34] [build-stderr]                                          ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                          atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:240:50: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order);
                       [2023-02-27 19:25:34] [build-stderr]                                                   ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                   atomic_load
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:1:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]  void test_des_1() throw(int);        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:2:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]  void test_des_2() throw(int, float); // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:8:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    Foo(bool) throw(int);            // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:9:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    Foo(int, bool) throw(int, bool); // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                   ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In member function 'Ref& Ref::operator=(Ref)':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:5:24: warning: no return statement in function returning non-void [-Wreturn-type]
                       [2023-02-27 19:25:35] [build-stderr]    Ref &operator=(Ref) {}
                       [2023-02-27 19:25:35] [build-stderr]                         ^
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In function 'void test()':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:16:5: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    ++b;        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]      ^
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:17:4: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    b++;        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]     ^~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:18:11: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    r.getX()++; // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]            ^~
                       [2023-02-27 19:25:35] [build-stderr] In file included from /usr/include/c++/8/backward/strstream:50,
                       [2023-02-27 19:25:35] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:1:
                       [2023-02-27 19:25:35] [build-stderr] /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
                       [2023-02-27 19:25:35] [build-stderr]  #warning \
                       [2023-02-27 19:25:35] [build-stderr]   ^~~~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp: In function 'void test_istrstream()':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:13:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
                       [2023-02-27 19:25:35] [build-stderr]    char *s = "foo";
                       [2023-02-27 19:25:35] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:36] [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/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyAssignmentOperatorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyConstructorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/RegisterKeywordIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/test.cpp])
                       

SUITE                : AUTOSAR
PACKAGE              : Toolchain
QUERY                : RegisterKeywordIsDeprecated
RULE                 : A1-1-1
COMPILE_PASS         : False
TEST_PASS            : False
TEST_DIFFERENCE      : 
COMPILE_ERROR_OUTPUT : [2023-02-27 19:25:34] [build-stderr] In file included from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp:27:
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:40:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic _Bool atomic_bool;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:41:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic char atomic_char;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:42:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic signed char atomic_schar;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:43:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned char atomic_uchar;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:44:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic short atomic_short;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:45:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned short atomic_ushort;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:46:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic int atomic_int;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:47:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned int atomic_uint;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:48:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic long atomic_long;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:49:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned long atomic_ulong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:50:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic long long atomic_llong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:51:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned long long atomic_ullong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:52:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __CHAR16_TYPE__ atomic_char16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:53:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __CHAR32_TYPE__ atomic_char32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:54:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:55:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:56:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:57:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:58:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:59:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:60:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:61:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:62:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:63:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:64:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:65:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:66:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:67:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:68:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:69:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:70:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:71:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:72:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:73:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __SIZE_TYPE__ atomic_size_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:74:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:75:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:76:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:218:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic struct
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:225:3: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  } atomic_flag;
                       [2023-02-27 19:25:34] [build-stderr]    ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]    atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:230:49: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern _Bool atomic_flag_test_and_set (volatile atomic_flag *);
                       [2023-02-27 19:25:34] [build-stderr]                                                  ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                  atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:233:58: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *,
                       [2023-02-27 19:25:34] [build-stderr]                                                           ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                           atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:238:41: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern void atomic_flag_clear (volatile atomic_flag *);
                       [2023-02-27 19:25:34] [build-stderr]                                          ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                          atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:240:50: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order);
                       [2023-02-27 19:25:34] [build-stderr]                                                   ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                   atomic_load
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:1:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]  void test_des_1() throw(int);        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:2:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]  void test_des_2() throw(int, float); // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:8:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    Foo(bool) throw(int);            // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:9:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    Foo(int, bool) throw(int, bool); // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                   ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In member function 'Ref& Ref::operator=(Ref)':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:5:24: warning: no return statement in function returning non-void [-Wreturn-type]
                       [2023-02-27 19:25:35] [build-stderr]    Ref &operator=(Ref) {}
                       [2023-02-27 19:25:35] [build-stderr]                         ^
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In function 'void test()':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:16:5: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    ++b;        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]      ^
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:17:4: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    b++;        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]     ^~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:18:11: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    r.getX()++; // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]            ^~
                       [2023-02-27 19:25:35] [build-stderr] In file included from /usr/include/c++/8/backward/strstream:50,
                       [2023-02-27 19:25:35] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:1:
                       [2023-02-27 19:25:35] [build-stderr] /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
                       [2023-02-27 19:25:35] [build-stderr]  #warning \
                       [2023-02-27 19:25:35] [build-stderr]   ^~~~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp: In function 'void test_istrstream()':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:13:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
                       [2023-02-27 19:25:35] [build-stderr]    char *s = "foo";
                       [2023-02-27 19:25:35] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:36] [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/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyAssignmentOperatorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyConstructorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/RegisterKeywordIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/test.cpp])
                       

SUITE                : AUTOSAR
PACKAGE              : Toolchain
QUERY                : ImplicitCopyConstructorIsDeprecated
RULE                 : A1-1-1
COMPILE_PASS         : False
TEST_PASS            : False
TEST_DIFFERENCE      : 
COMPILE_ERROR_OUTPUT : [2023-02-27 19:25:34] [build-stderr] In file included from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp:27:
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:40:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic _Bool atomic_bool;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:41:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic char atomic_char;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:42:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic signed char atomic_schar;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:43:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned char atomic_uchar;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:44:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic short atomic_short;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:45:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned short atomic_ushort;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:46:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic int atomic_int;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:47:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned int atomic_uint;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:48:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic long atomic_long;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:49:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned long atomic_ulong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:50:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic long long atomic_llong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:51:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned long long atomic_ullong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:52:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __CHAR16_TYPE__ atomic_char16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:53:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __CHAR32_TYPE__ atomic_char32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:54:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:55:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:56:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:57:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:58:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:59:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:60:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:61:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:62:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:63:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:64:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:65:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:66:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:67:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:68:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:69:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:70:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:71:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:72:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:73:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __SIZE_TYPE__ atomic_size_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:74:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:75:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:76:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:218:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic struct
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:225:3: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  } atomic_flag;
                       [2023-02-27 19:25:34] [build-stderr]    ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]    atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:230:49: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern _Bool atomic_flag_test_and_set (volatile atomic_flag *);
                       [2023-02-27 19:25:34] [build-stderr]                                                  ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                  atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:233:58: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *,
                       [2023-02-27 19:25:34] [build-stderr]                                                           ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                           atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:238:41: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern void atomic_flag_clear (volatile atomic_flag *);
                       [2023-02-27 19:25:34] [build-stderr]                                          ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                          atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:240:50: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order);
                       [2023-02-27 19:25:34] [build-stderr]                                                   ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                   atomic_load
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:1:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]  void test_des_1() throw(int);        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:2:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]  void test_des_2() throw(int, float); // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:8:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    Foo(bool) throw(int);            // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:9:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    Foo(int, bool) throw(int, bool); // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                   ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In member function 'Ref& Ref::operator=(Ref)':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:5:24: warning: no return statement in function returning non-void [-Wreturn-type]
                       [2023-02-27 19:25:35] [build-stderr]    Ref &operator=(Ref) {}
                       [2023-02-27 19:25:35] [build-stderr]                         ^
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In function 'void test()':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:16:5: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    ++b;        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]      ^
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:17:4: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    b++;        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]     ^~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:18:11: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    r.getX()++; // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]            ^~
                       [2023-02-27 19:25:35] [build-stderr] In file included from /usr/include/c++/8/backward/strstream:50,
                       [2023-02-27 19:25:35] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:1:
                       [2023-02-27 19:25:35] [build-stderr] /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
                       [2023-02-27 19:25:35] [build-stderr]  #warning \
                       [2023-02-27 19:25:35] [build-stderr]   ^~~~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp: In function 'void test_istrstream()':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:13:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
                       [2023-02-27 19:25:35] [build-stderr]    char *s = "foo";
                       [2023-02-27 19:25:35] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:36] [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/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyAssignmentOperatorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyConstructorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/RegisterKeywordIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/test.cpp])
                       

SUITE                : AUTOSAR
PACKAGE              : Toolchain
QUERY                : IncrementOperatorWithBoolOperandIsDeprecated
RULE                 : A1-1-1
COMPILE_PASS         : False
TEST_PASS            : False
TEST_DIFFERENCE      : 
COMPILE_ERROR_OUTPUT : [2023-02-27 19:25:34] [build-stderr] In file included from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp:27:
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:40:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic _Bool atomic_bool;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:41:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic char atomic_char;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:42:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic signed char atomic_schar;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:43:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned char atomic_uchar;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:44:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic short atomic_short;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:45:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned short atomic_ushort;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:46:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic int atomic_int;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:47:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned int atomic_uint;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:48:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic long atomic_long;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:49:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned long atomic_ulong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:50:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic long long atomic_llong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:51:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned long long atomic_ullong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:52:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __CHAR16_TYPE__ atomic_char16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:53:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __CHAR32_TYPE__ atomic_char32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:54:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:55:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:56:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:57:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:58:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:59:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:60:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:61:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:62:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:63:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:64:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:65:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:66:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:67:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:68:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:69:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:70:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:71:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:72:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:73:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __SIZE_TYPE__ atomic_size_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:74:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:75:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:76:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:218:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic struct
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:225:3: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  } atomic_flag;
                       [2023-02-27 19:25:34] [build-stderr]    ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]    atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:230:49: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern _Bool atomic_flag_test_and_set (volatile atomic_flag *);
                       [2023-02-27 19:25:34] [build-stderr]                                                  ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                  atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:233:58: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *,
                       [2023-02-27 19:25:34] [build-stderr]                                                           ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                           atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:238:41: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern void atomic_flag_clear (volatile atomic_flag *);
                       [2023-02-27 19:25:34] [build-stderr]                                          ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                          atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:240:50: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order);
                       [2023-02-27 19:25:34] [build-stderr]                                                   ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                   atomic_load
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:1:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]  void test_des_1() throw(int);        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:2:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]  void test_des_2() throw(int, float); // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:8:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    Foo(bool) throw(int);            // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:9:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    Foo(int, bool) throw(int, bool); // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                   ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In member function 'Ref& Ref::operator=(Ref)':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:5:24: warning: no return statement in function returning non-void [-Wreturn-type]
                       [2023-02-27 19:25:35] [build-stderr]    Ref &operator=(Ref) {}
                       [2023-02-27 19:25:35] [build-stderr]                         ^
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In function 'void test()':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:16:5: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    ++b;        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]      ^
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:17:4: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    b++;        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]     ^~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:18:11: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    r.getX()++; // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]            ^~
                       [2023-02-27 19:25:35] [build-stderr] In file included from /usr/include/c++/8/backward/strstream:50,
                       [2023-02-27 19:25:35] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:1:
                       [2023-02-27 19:25:35] [build-stderr] /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
                       [2023-02-27 19:25:35] [build-stderr]  #warning \
                       [2023-02-27 19:25:35] [build-stderr]   ^~~~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp: In function 'void test_istrstream()':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:13:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
                       [2023-02-27 19:25:35] [build-stderr]    char *s = "foo";
                       [2023-02-27 19:25:35] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:36] [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/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyAssignmentOperatorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyConstructorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/RegisterKeywordIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/test.cpp])
                       

SUITE                : AUTOSAR
PACKAGE              : Toolchain
QUERY                : StrstreamTypesAreDeprecated
RULE                 : A1-1-1
COMPILE_PASS         : False
TEST_PASS            : False
TEST_DIFFERENCE      : 
COMPILE_ERROR_OUTPUT : [2023-02-27 19:25:34] [build-stderr] In file included from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp:27:
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:40:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic _Bool atomic_bool;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:41:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic char atomic_char;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:42:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic signed char atomic_schar;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:43:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned char atomic_uchar;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:44:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic short atomic_short;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:45:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned short atomic_ushort;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:46:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic int atomic_int;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:47:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned int atomic_uint;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:48:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic long atomic_long;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:49:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned long atomic_ulong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:50:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic long long atomic_llong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:51:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic unsigned long long atomic_ullong;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:52:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __CHAR16_TYPE__ atomic_char16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:53:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __CHAR32_TYPE__ atomic_char32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:54:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:55:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:56:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:57:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:58:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:59:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:60:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:61:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:62:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:63:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:64:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:65:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:66:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:67:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:68:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:69:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:70:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:71:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:72:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:73:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __SIZE_TYPE__ atomic_size_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:74:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:75:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:76:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t;
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:218:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:34] [build-stderr]  typedef _Atomic struct
                       [2023-02-27 19:25:34] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:225:3: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  } atomic_flag;
                       [2023-02-27 19:25:34] [build-stderr]    ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]    atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:230:49: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern _Bool atomic_flag_test_and_set (volatile atomic_flag *);
                       [2023-02-27 19:25:34] [build-stderr]                                                  ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                  atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:233:58: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *,
                       [2023-02-27 19:25:34] [build-stderr]                                                           ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                           atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:238:41: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern void atomic_flag_clear (volatile atomic_flag *);
                       [2023-02-27 19:25:34] [build-stderr]                                          ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                          atomic_load
                       [2023-02-27 19:25:34] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:240:50: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:34] [build-stderr]  extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order);
                       [2023-02-27 19:25:34] [build-stderr]                                                   ^~~~~~~~~~~
                       [2023-02-27 19:25:34] [build-stderr]                                                   atomic_load
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:1:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]  void test_des_1() throw(int);        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:2:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]  void test_des_2() throw(int, float); // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:8:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    Foo(bool) throw(int);            // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:9:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    Foo(int, bool) throw(int, bool); // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]                   ^~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In member function 'Ref& Ref::operator=(Ref)':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:5:24: warning: no return statement in function returning non-void [-Wreturn-type]
                       [2023-02-27 19:25:35] [build-stderr]    Ref &operator=(Ref) {}
                       [2023-02-27 19:25:35] [build-stderr]                         ^
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In function 'void test()':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:16:5: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    ++b;        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]      ^
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:17:4: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    b++;        // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]     ^~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:18:11: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:35] [build-stderr]    r.getX()++; // NON_COMPLIANT
                       [2023-02-27 19:25:35] [build-stderr]            ^~
                       [2023-02-27 19:25:35] [build-stderr] In file included from /usr/include/c++/8/backward/strstream:50,
                       [2023-02-27 19:25:35] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:1:
                       [2023-02-27 19:25:35] [build-stderr] /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
                       [2023-02-27 19:25:35] [build-stderr]  #warning \
                       [2023-02-27 19:25:35] [build-stderr]   ^~~~~~~
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp: In function 'void test_istrstream()':
                       [2023-02-27 19:25:35] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:13:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
                       [2023-02-27 19:25:35] [build-stderr]    char *s = "foo";
                       [2023-02-27 19:25:35] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:36] [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/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyAssignmentOperatorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyConstructorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/RegisterKeywordIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/test.cpp])
                       

SUITE                : CERT-C++
PACKAGE              : Pointers
QUERY                : DeletingPointerToIncompleteClass
RULE                 : EXP57-CPP
COMPILE_PASS         : True
TEST_PASS            : True
TEST_DIFFERENCE      : 
COMPILE_ERROR_OUTPUT : 

SUITE                : CERT-C++
PACKAGE              : Pointers
QUERY                : CastOfPointerToIncompleteClass
RULE                 : EXP57-CPP
COMPILE_PASS         : True
TEST_PASS            : True
TEST_DIFFERENCE      : 
COMPILE_ERROR_OUTPUT : 

SUITE                : AUTOSAR
PACKAGE              : Pointers
QUERY                : DeletingPointerToIncompleteType
RULE                 : A5-3-3
COMPILE_PASS         : True
TEST_PASS            : True
TEST_DIFFERENCE      : 
COMPILE_ERROR_OUTPUT : 

SUITE                : CERT-C++
PACKAGE              : Iterators
QUERY                : UsesValidContainerElementAccess
RULE                 : CTR51-CPP
COMPILE_PASS         : True
TEST_PASS            : True
TEST_DIFFERENCE      : 
COMPILE_ERROR_OUTPUT : 

SUITE                : CERT-C++
PACKAGE              : Iterators
QUERY                : UseValidReferencesForElementsOfString
RULE                 : STR52-CPP
COMPILE_PASS         : True
TEST_PASS            : True
TEST_DIFFERENCE      : 
COMPILE_ERROR_OUTPUT : 

SUITE                : AUTOSAR
PACKAGE              : Iterators
QUERY                : ValidContainerElementAccess
RULE                 : A23-0-2
COMPILE_PASS         : True
TEST_PASS            : True
TEST_DIFFERENCE      : 
COMPILE_ERROR_OUTPUT : 


@jsinglet
Copy link
Contributor

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


SUITE                : AUTOSAR
TEST_DIFFERENCE      : 
RULE                 : A1-1-1
QUERY                : StrstreamTypesAreDeprecated
PACKAGE              : Toolchain
TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-02-27 19:25:38] [build-stderr] In file included from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp:27:
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:40:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic _Bool atomic_bool;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:41:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic char atomic_char;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:42:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic signed char atomic_schar;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:43:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned char atomic_uchar;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:44:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic short atomic_short;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:45:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned short atomic_ushort;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:46:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic int atomic_int;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:47:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned int atomic_uint;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:48:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic long atomic_long;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:49:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned long atomic_ulong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:50:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic long long atomic_llong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:51:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned long long atomic_ullong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:52:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __CHAR16_TYPE__ atomic_char16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:53:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __CHAR32_TYPE__ atomic_char32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:54:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:55:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:56:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:57:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:58:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:59:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:60:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:61:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:62:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:63:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:64:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:65:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:66:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:67:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:68:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:69:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:70:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:71:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:72:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:73:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __SIZE_TYPE__ atomic_size_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:74:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:75:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:76:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:218:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic struct
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:225:3: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  } atomic_flag;
                       [2023-02-27 19:25:38] [build-stderr]    ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]    atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:230:49: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern _Bool atomic_flag_test_and_set (volatile atomic_flag *);
                       [2023-02-27 19:25:38] [build-stderr]                                                  ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                  atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:233:58: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *,
                       [2023-02-27 19:25:38] [build-stderr]                                                           ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                           atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:238:41: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern void atomic_flag_clear (volatile atomic_flag *);
                       [2023-02-27 19:25:38] [build-stderr]                                          ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                          atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:240:50: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order);
                       [2023-02-27 19:25:38] [build-stderr]                                                   ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                   atomic_load
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:1:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]  void test_des_1() throw(int);        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:2:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]  void test_des_2() throw(int, float); // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:8:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    Foo(bool) throw(int);            // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:9:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    Foo(int, bool) throw(int, bool); // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                   ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In member function 'Ref& Ref::operator=(Ref)':
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:5:24: warning: no return statement in function returning non-void [-Wreturn-type]
                       [2023-02-27 19:25:39] [build-stderr]    Ref &operator=(Ref) {}
                       [2023-02-27 19:25:39] [build-stderr]                         ^
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In function 'void test()':
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:16:5: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    ++b;        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]      ^
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:17:4: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    b++;        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]     ^~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:18:11: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    r.getX()++; // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]            ^~
                       [2023-02-27 19:25:39] [build-stderr] In file included from /usr/include/c++/8/backward/strstream:50,
                       [2023-02-27 19:25:39] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:1:
                       [2023-02-27 19:25:39] [build-stderr] /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
                       [2023-02-27 19:25:39] [build-stderr]  #warning \
                       [2023-02-27 19:25:39] [build-stderr]   ^~~~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp: In function 'void test_istrstream()':
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:13:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
                       [2023-02-27 19:25:39] [build-stderr]    char *s = "foo";
                       [2023-02-27 19:25:39] [build-stderr]              ^~~~~
                       [2023-02-27 19:25: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, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyAssignmentOperatorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyConstructorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/RegisterKeywordIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/test.cpp])
                       
COMPILE_PASS         : False

SUITE                : AUTOSAR
TEST_DIFFERENCE      : 
RULE                 : A1-1-1
QUERY                : ImplicitCopyAssignmentOperatorIsDeprecated
PACKAGE              : Toolchain
TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-02-27 19:25:38] [build-stderr] In file included from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp:27:
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:40:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic _Bool atomic_bool;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:41:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic char atomic_char;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:42:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic signed char atomic_schar;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:43:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned char atomic_uchar;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:44:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic short atomic_short;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:45:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned short atomic_ushort;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:46:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic int atomic_int;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:47:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned int atomic_uint;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:48:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic long atomic_long;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:49:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned long atomic_ulong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:50:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic long long atomic_llong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:51:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned long long atomic_ullong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:52:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __CHAR16_TYPE__ atomic_char16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:53:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __CHAR32_TYPE__ atomic_char32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:54:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:55:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:56:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:57:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:58:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:59:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:60:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:61:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:62:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:63:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:64:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:65:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:66:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:67:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:68:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:69:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:70:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:71:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:72:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:73:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __SIZE_TYPE__ atomic_size_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:74:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:75:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:76:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:218:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic struct
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:225:3: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  } atomic_flag;
                       [2023-02-27 19:25:38] [build-stderr]    ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]    atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:230:49: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern _Bool atomic_flag_test_and_set (volatile atomic_flag *);
                       [2023-02-27 19:25:38] [build-stderr]                                                  ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                  atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:233:58: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *,
                       [2023-02-27 19:25:38] [build-stderr]                                                           ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                           atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:238:41: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern void atomic_flag_clear (volatile atomic_flag *);
                       [2023-02-27 19:25:38] [build-stderr]                                          ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                          atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:240:50: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order);
                       [2023-02-27 19:25:38] [build-stderr]                                                   ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                   atomic_load
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:1:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]  void test_des_1() throw(int);        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:2:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]  void test_des_2() throw(int, float); // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:8:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    Foo(bool) throw(int);            // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:9:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    Foo(int, bool) throw(int, bool); // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                   ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In member function 'Ref& Ref::operator=(Ref)':
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:5:24: warning: no return statement in function returning non-void [-Wreturn-type]
                       [2023-02-27 19:25:39] [build-stderr]    Ref &operator=(Ref) {}
                       [2023-02-27 19:25:39] [build-stderr]                         ^
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In function 'void test()':
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:16:5: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    ++b;        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]      ^
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:17:4: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    b++;        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]     ^~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:18:11: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    r.getX()++; // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]            ^~
                       [2023-02-27 19:25:39] [build-stderr] In file included from /usr/include/c++/8/backward/strstream:50,
                       [2023-02-27 19:25:39] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:1:
                       [2023-02-27 19:25:39] [build-stderr] /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
                       [2023-02-27 19:25:39] [build-stderr]  #warning \
                       [2023-02-27 19:25:39] [build-stderr]   ^~~~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp: In function 'void test_istrstream()':
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:13:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
                       [2023-02-27 19:25:39] [build-stderr]    char *s = "foo";
                       [2023-02-27 19:25:39] [build-stderr]              ^~~~~
                       [2023-02-27 19:25: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, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyAssignmentOperatorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyConstructorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/RegisterKeywordIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/test.cpp])
                       
COMPILE_PASS         : False

SUITE                : AUTOSAR
TEST_DIFFERENCE      : 
RULE                 : A1-1-1
QUERY                : CStandardLibraryHeadersAreDeprecated
PACKAGE              : Toolchain
TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-02-27 19:25:38] [build-stderr] In file included from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp:27:
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:40:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic _Bool atomic_bool;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:41:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic char atomic_char;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:42:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic signed char atomic_schar;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:43:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned char atomic_uchar;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:44:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic short atomic_short;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:45:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned short atomic_ushort;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:46:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic int atomic_int;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:47:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned int atomic_uint;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:48:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic long atomic_long;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:49:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned long atomic_ulong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:50:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic long long atomic_llong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:51:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned long long atomic_ullong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:52:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __CHAR16_TYPE__ atomic_char16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:53:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __CHAR32_TYPE__ atomic_char32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:54:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:55:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:56:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:57:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:58:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:59:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:60:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:61:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:62:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:63:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:64:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:65:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:66:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:67:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:68:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:69:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:70:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:71:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:72:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:73:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __SIZE_TYPE__ atomic_size_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:74:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:75:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:76:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:218:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic struct
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:225:3: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  } atomic_flag;
                       [2023-02-27 19:25:38] [build-stderr]    ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]    atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:230:49: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern _Bool atomic_flag_test_and_set (volatile atomic_flag *);
                       [2023-02-27 19:25:38] [build-stderr]                                                  ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                  atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:233:58: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *,
                       [2023-02-27 19:25:38] [build-stderr]                                                           ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                           atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:238:41: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern void atomic_flag_clear (volatile atomic_flag *);
                       [2023-02-27 19:25:38] [build-stderr]                                          ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                          atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:240:50: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order);
                       [2023-02-27 19:25:38] [build-stderr]                                                   ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                   atomic_load
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:1:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]  void test_des_1() throw(int);        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:2:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]  void test_des_2() throw(int, float); // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:8:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    Foo(bool) throw(int);            // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:9:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    Foo(int, bool) throw(int, bool); // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                   ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In member function 'Ref& Ref::operator=(Ref)':
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:5:24: warning: no return statement in function returning non-void [-Wreturn-type]
                       [2023-02-27 19:25:39] [build-stderr]    Ref &operator=(Ref) {}
                       [2023-02-27 19:25:39] [build-stderr]                         ^
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In function 'void test()':
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:16:5: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    ++b;        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]      ^
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:17:4: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    b++;        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]     ^~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:18:11: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    r.getX()++; // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]            ^~
                       [2023-02-27 19:25:39] [build-stderr] In file included from /usr/include/c++/8/backward/strstream:50,
                       [2023-02-27 19:25:39] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:1:
                       [2023-02-27 19:25:39] [build-stderr] /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
                       [2023-02-27 19:25:39] [build-stderr]  #warning \
                       [2023-02-27 19:25:39] [build-stderr]   ^~~~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp: In function 'void test_istrstream()':
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:13:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
                       [2023-02-27 19:25:39] [build-stderr]    char *s = "foo";
                       [2023-02-27 19:25:39] [build-stderr]              ^~~~~
                       [2023-02-27 19:25: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, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyAssignmentOperatorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyConstructorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/RegisterKeywordIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/test.cpp])
                       
COMPILE_PASS         : False

SUITE                : AUTOSAR
TEST_DIFFERENCE      : 
RULE                 : A1-1-1
QUERY                : ImplicitCopyConstructorIsDeprecated
PACKAGE              : Toolchain
TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-02-27 19:25:38] [build-stderr] In file included from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp:27:
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:40:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic _Bool atomic_bool;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:41:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic char atomic_char;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:42:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic signed char atomic_schar;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:43:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned char atomic_uchar;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:44:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic short atomic_short;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:45:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned short atomic_ushort;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:46:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic int atomic_int;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:47:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned int atomic_uint;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:48:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic long atomic_long;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:49:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned long atomic_ulong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:50:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic long long atomic_llong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:51:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned long long atomic_ullong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:52:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __CHAR16_TYPE__ atomic_char16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:53:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __CHAR32_TYPE__ atomic_char32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:54:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:55:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:56:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:57:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:58:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:59:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:60:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:61:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:62:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:63:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:64:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:65:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:66:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:67:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:68:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:69:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:70:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:71:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:72:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:73:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __SIZE_TYPE__ atomic_size_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:74:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:75:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:76:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:218:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic struct
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:225:3: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  } atomic_flag;
                       [2023-02-27 19:25:38] [build-stderr]    ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]    atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:230:49: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern _Bool atomic_flag_test_and_set (volatile atomic_flag *);
                       [2023-02-27 19:25:38] [build-stderr]                                                  ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                  atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:233:58: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *,
                       [2023-02-27 19:25:38] [build-stderr]                                                           ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                           atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:238:41: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern void atomic_flag_clear (volatile atomic_flag *);
                       [2023-02-27 19:25:38] [build-stderr]                                          ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                          atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:240:50: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order);
                       [2023-02-27 19:25:38] [build-stderr]                                                   ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                   atomic_load
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:1:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]  void test_des_1() throw(int);        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:2:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]  void test_des_2() throw(int, float); // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:8:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    Foo(bool) throw(int);            // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:9:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    Foo(int, bool) throw(int, bool); // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                   ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In member function 'Ref& Ref::operator=(Ref)':
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:5:24: warning: no return statement in function returning non-void [-Wreturn-type]
                       [2023-02-27 19:25:39] [build-stderr]    Ref &operator=(Ref) {}
                       [2023-02-27 19:25:39] [build-stderr]                         ^
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In function 'void test()':
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:16:5: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    ++b;        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]      ^
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:17:4: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    b++;        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]     ^~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:18:11: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    r.getX()++; // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]            ^~
                       [2023-02-27 19:25:39] [build-stderr] In file included from /usr/include/c++/8/backward/strstream:50,
                       [2023-02-27 19:25:39] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:1:
                       [2023-02-27 19:25:39] [build-stderr] /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
                       [2023-02-27 19:25:39] [build-stderr]  #warning \
                       [2023-02-27 19:25:39] [build-stderr]   ^~~~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp: In function 'void test_istrstream()':
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:13:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
                       [2023-02-27 19:25:39] [build-stderr]    char *s = "foo";
                       [2023-02-27 19:25:39] [build-stderr]              ^~~~~
                       [2023-02-27 19:25: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, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyAssignmentOperatorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyConstructorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/RegisterKeywordIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/test.cpp])
                       
COMPILE_PASS         : False

SUITE                : AUTOSAR
TEST_DIFFERENCE      : 
RULE                 : A1-1-1
QUERY                : IncrementOperatorWithBoolOperandIsDeprecated
PACKAGE              : Toolchain
TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-02-27 19:25:38] [build-stderr] In file included from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp:27:
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:40:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic _Bool atomic_bool;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:41:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic char atomic_char;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:42:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic signed char atomic_schar;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:43:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned char atomic_uchar;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:44:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic short atomic_short;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:45:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned short atomic_ushort;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:46:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic int atomic_int;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:47:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned int atomic_uint;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:48:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic long atomic_long;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:49:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned long atomic_ulong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:50:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic long long atomic_llong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:51:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned long long atomic_ullong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:52:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __CHAR16_TYPE__ atomic_char16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:53:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __CHAR32_TYPE__ atomic_char32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:54:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:55:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:56:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:57:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:58:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:59:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:60:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:61:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:62:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:63:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:64:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:65:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:66:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:67:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:68:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:69:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:70:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:71:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:72:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:73:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __SIZE_TYPE__ atomic_size_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:74:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:75:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:76:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:218:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic struct
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:225:3: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  } atomic_flag;
                       [2023-02-27 19:25:38] [build-stderr]    ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]    atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:230:49: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern _Bool atomic_flag_test_and_set (volatile atomic_flag *);
                       [2023-02-27 19:25:38] [build-stderr]                                                  ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                  atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:233:58: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *,
                       [2023-02-27 19:25:38] [build-stderr]                                                           ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                           atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:238:41: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern void atomic_flag_clear (volatile atomic_flag *);
                       [2023-02-27 19:25:38] [build-stderr]                                          ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                          atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:240:50: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order);
                       [2023-02-27 19:25:38] [build-stderr]                                                   ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                   atomic_load
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:1:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]  void test_des_1() throw(int);        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:2:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]  void test_des_2() throw(int, float); // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:8:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    Foo(bool) throw(int);            // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:9:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    Foo(int, bool) throw(int, bool); // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                   ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In member function 'Ref& Ref::operator=(Ref)':
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:5:24: warning: no return statement in function returning non-void [-Wreturn-type]
                       [2023-02-27 19:25:39] [build-stderr]    Ref &operator=(Ref) {}
                       [2023-02-27 19:25:39] [build-stderr]                         ^
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In function 'void test()':
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:16:5: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    ++b;        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]      ^
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:17:4: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    b++;        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]     ^~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:18:11: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    r.getX()++; // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]            ^~
                       [2023-02-27 19:25:39] [build-stderr] In file included from /usr/include/c++/8/backward/strstream:50,
                       [2023-02-27 19:25:39] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:1:
                       [2023-02-27 19:25:39] [build-stderr] /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
                       [2023-02-27 19:25:39] [build-stderr]  #warning \
                       [2023-02-27 19:25:39] [build-stderr]   ^~~~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp: In function 'void test_istrstream()':
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:13:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
                       [2023-02-27 19:25:39] [build-stderr]    char *s = "foo";
                       [2023-02-27 19:25:39] [build-stderr]              ^~~~~
                       [2023-02-27 19:25: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, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyAssignmentOperatorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyConstructorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/RegisterKeywordIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/test.cpp])
                       
COMPILE_PASS         : False

SUITE                : AUTOSAR
TEST_DIFFERENCE      : 
RULE                 : A1-1-1
QUERY                : RegisterKeywordIsDeprecated
PACKAGE              : Toolchain
TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-02-27 19:25:38] [build-stderr] In file included from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp:27:
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:40:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic _Bool atomic_bool;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:41:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic char atomic_char;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:42:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic signed char atomic_schar;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:43:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned char atomic_uchar;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:44:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic short atomic_short;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:45:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned short atomic_ushort;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:46:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic int atomic_int;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:47:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned int atomic_uint;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:48:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic long atomic_long;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:49:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned long atomic_ulong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:50:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic long long atomic_llong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:51:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned long long atomic_ullong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:52:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __CHAR16_TYPE__ atomic_char16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:53:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __CHAR32_TYPE__ atomic_char32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:54:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:55:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:56:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:57:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:58:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:59:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:60:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:61:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:62:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:63:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:64:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:65:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:66:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:67:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:68:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:69:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:70:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:71:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:72:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:73:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __SIZE_TYPE__ atomic_size_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:74:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:75:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:76:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:218:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic struct
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:225:3: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  } atomic_flag;
                       [2023-02-27 19:25:38] [build-stderr]    ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]    atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:230:49: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern _Bool atomic_flag_test_and_set (volatile atomic_flag *);
                       [2023-02-27 19:25:38] [build-stderr]                                                  ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                  atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:233:58: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *,
                       [2023-02-27 19:25:38] [build-stderr]                                                           ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                           atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:238:41: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern void atomic_flag_clear (volatile atomic_flag *);
                       [2023-02-27 19:25:38] [build-stderr]                                          ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                          atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:240:50: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order);
                       [2023-02-27 19:25:38] [build-stderr]                                                   ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                   atomic_load
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:1:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]  void test_des_1() throw(int);        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:2:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]  void test_des_2() throw(int, float); // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:8:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    Foo(bool) throw(int);            // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:9:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    Foo(int, bool) throw(int, bool); // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                   ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In member function 'Ref& Ref::operator=(Ref)':
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:5:24: warning: no return statement in function returning non-void [-Wreturn-type]
                       [2023-02-27 19:25:39] [build-stderr]    Ref &operator=(Ref) {}
                       [2023-02-27 19:25:39] [build-stderr]                         ^
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In function 'void test()':
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:16:5: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    ++b;        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]      ^
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:17:4: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    b++;        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]     ^~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:18:11: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    r.getX()++; // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]            ^~
                       [2023-02-27 19:25:39] [build-stderr] In file included from /usr/include/c++/8/backward/strstream:50,
                       [2023-02-27 19:25:39] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:1:
                       [2023-02-27 19:25:39] [build-stderr] /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
                       [2023-02-27 19:25:39] [build-stderr]  #warning \
                       [2023-02-27 19:25:39] [build-stderr]   ^~~~~~~
                       [2023-02-27 19:25:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp: In function 'void test_istrstream()':
                       [2023-02-27 19:25:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:13:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
                       [2023-02-27 19:25:40] [build-stderr]    char *s = "foo";
                       [2023-02-27 19:25:40] [build-stderr]              ^~~~~
                       [2023-02-27 19:25: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, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyAssignmentOperatorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyConstructorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/RegisterKeywordIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/test.cpp])
                       
COMPILE_PASS         : False

SUITE                : AUTOSAR
TEST_DIFFERENCE      : 
RULE                 : A1-1-1
QUERY                : DynamicExceptionsAreDeprecated
PACKAGE              : Toolchain
TEST_PASS            : False
COMPILE_ERROR_OUTPUT : [2023-02-27 19:25:38] [build-stderr] In file included from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp:27:
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:40:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic _Bool atomic_bool;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:41:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic char atomic_char;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:42:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic signed char atomic_schar;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:43:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned char atomic_uchar;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:44:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic short atomic_short;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:45:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned short atomic_ushort;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:46:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic int atomic_int;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:47:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned int atomic_uint;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:48:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic long atomic_long;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:49:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned long atomic_ulong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:50:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic long long atomic_llong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:51:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic unsigned long long atomic_ullong;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:52:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __CHAR16_TYPE__ atomic_char16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:53:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __CHAR32_TYPE__ atomic_char32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:54:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:55:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:56:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:57:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:58:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:59:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:60:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:61:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:62:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:63:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:64:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:65:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:66:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:67:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:68:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:69:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:70:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:71:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:72:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:73:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __SIZE_TYPE__ atomic_size_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:74:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:75:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:76:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t;
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:218:9: error: '_Atomic' does not name a type
                       [2023-02-27 19:25:38] [build-stderr]  typedef _Atomic struct
                       [2023-02-27 19:25:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:225:3: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  } atomic_flag;
                       [2023-02-27 19:25:38] [build-stderr]    ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]    atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:230:49: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern _Bool atomic_flag_test_and_set (volatile atomic_flag *);
                       [2023-02-27 19:25:38] [build-stderr]                                                  ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                  atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:233:58: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *,
                       [2023-02-27 19:25:38] [build-stderr]                                                           ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                           atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:238:41: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern void atomic_flag_clear (volatile atomic_flag *);
                       [2023-02-27 19:25:38] [build-stderr]                                          ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                          atomic_load
                       [2023-02-27 19:25:38] [build-stderr] /usr/lib/gcc/x86_64-linux-gnu/8/include/stdatomic.h:240:50: error: 'atomic_flag' does not name a type; did you mean 'atomic_load'?
                       [2023-02-27 19:25:38] [build-stderr]  extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order);
                       [2023-02-27 19:25:38] [build-stderr]                                                   ^~~~~~~~~~~
                       [2023-02-27 19:25:38] [build-stderr]                                                   atomic_load
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:1:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]  void test_des_1() throw(int);        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:2:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]  void test_des_2() throw(int, float); // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                    ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:8:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    Foo(bool) throw(int);            // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]              ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp:9:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    Foo(int, bool) throw(int, bool); // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]                   ^~~~~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In member function 'Ref& Ref::operator=(Ref)':
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:5:24: warning: no return statement in function returning non-void [-Wreturn-type]
                       [2023-02-27 19:25:39] [build-stderr]    Ref &operator=(Ref) {}
                       [2023-02-27 19:25:39] [build-stderr]                         ^
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp: In function 'void test()':
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:16:5: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    ++b;        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]      ^
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:17:4: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    b++;        // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]     ^~
                       [2023-02-27 19:25:39] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp:18:11: warning: use of an operand of type 'bool' in 'operator++' is deprecated [-Wdeprecated]
                       [2023-02-27 19:25:39] [build-stderr]    r.getX()++; // NON_COMPLIANT
                       [2023-02-27 19:25:39] [build-stderr]            ^~
                       [2023-02-27 19:25:39] [build-stderr] In file included from /usr/include/c++/8/backward/strstream:50,
                       [2023-02-27 19:25:39] [build-stderr]                  from /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:1:
                       [2023-02-27 19:25:39] [build-stderr] /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
                       [2023-02-27 19:25:39] [build-stderr]  #warning \
                       [2023-02-27 19:25:39] [build-stderr]   ^~~~~~~
                       [2023-02-27 19:25:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp: In function 'void test_istrstream()':
                       [2023-02-27 19:25:40] [build-stderr] /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp:13:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
                       [2023-02-27 19:25:40] [build-stderr]    char *s = "foo";
                       [2023-02-27 19:25:40] [build-stderr]              ^~~~~
                       [2023-02-27 19:25: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, g++, -std=c++14, -fsyntax-only, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/CStandardLibraryHeadersAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/DynamicExceptionsAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyAssignmentOperatorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/ImplicitCopyConstructorIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/IncrementOperatorWithBoolOperandIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/RegisterKeywordIsDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.cpp, /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/test.cpp])
                       
COMPILE_PASS         : False

SUITE                : CERT-C++
TEST_DIFFERENCE      : 
RULE                 : EXP57-CPP
QUERY                : DeletingPointerToIncompleteClass
PACKAGE              : Pointers
TEST_PASS            : True
COMPILE_ERROR_OUTPUT : 
COMPILE_PASS         : True

SUITE                : CERT-C++
TEST_DIFFERENCE      : 
RULE                 : EXP57-CPP
QUERY                : CastOfPointerToIncompleteClass
PACKAGE              : Pointers
TEST_PASS            : True
COMPILE_ERROR_OUTPUT : 
COMPILE_PASS         : True

SUITE                : AUTOSAR
TEST_DIFFERENCE      : 
RULE                 : A5-3-3
QUERY                : DeletingPointerToIncompleteType
PACKAGE              : Pointers
TEST_PASS            : True
COMPILE_ERROR_OUTPUT : 
COMPILE_PASS         : True

SUITE                : CERT-C++
TEST_DIFFERENCE      : 
RULE                 : CTR51-CPP
QUERY                : UsesValidContainerElementAccess
PACKAGE              : Iterators
TEST_PASS            : True
COMPILE_ERROR_OUTPUT : 
COMPILE_PASS         : True

SUITE                : CERT-C++
TEST_DIFFERENCE      : 
RULE                 : STR52-CPP
QUERY                : UseValidReferencesForElementsOfString
PACKAGE              : Iterators
TEST_PASS            : True
COMPILE_ERROR_OUTPUT : 
COMPILE_PASS         : True

SUITE                : AUTOSAR
TEST_DIFFERENCE      : 
RULE                 : A23-0-2
QUERY                : ValidContainerElementAccess
PACKAGE              : Iterators
TEST_PASS            : True
COMPILE_ERROR_OUTPUT : 
COMPILE_PASS         : True


@jsinglet
Copy link
Contributor

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


SUITE                : AUTOSAR
COMPILE_PASS         : True
TEST_PASS            : True
QUERY                : CStandardLibraryHeadersAreDeprecated
RULE                 : A1-1-1
COMPILE_ERROR_OUTPUT : 
TEST_DIFFERENCE      : 
PACKAGE              : Toolchain

SUITE                : AUTOSAR
COMPILE_PASS         : True
TEST_PASS            : True
QUERY                : ImplicitCopyConstructorIsDeprecated
RULE                 : A1-1-1
COMPILE_ERROR_OUTPUT : 
TEST_DIFFERENCE      : 
PACKAGE              : Toolchain

SUITE                : AUTOSAR
COMPILE_PASS         : True
TEST_PASS            : True
QUERY                : IncrementOperatorWithBoolOperandIsDeprecated
RULE                 : A1-1-1
COMPILE_ERROR_OUTPUT : 
TEST_DIFFERENCE      : 
PACKAGE              : Toolchain

SUITE                : AUTOSAR
COMPILE_PASS         : True
TEST_PASS            : True
QUERY                : ImplicitCopyAssignmentOperatorIsDeprecated
RULE                 : A1-1-1
COMPILE_ERROR_OUTPUT : 
TEST_DIFFERENCE      : 
PACKAGE              : Toolchain

SUITE                : AUTOSAR
COMPILE_PASS         : True
TEST_PASS            : True
QUERY                : RegisterKeywordIsDeprecated
RULE                 : A1-1-1
COMPILE_ERROR_OUTPUT : 
TEST_DIFFERENCE      : 
PACKAGE              : Toolchain

SUITE                : AUTOSAR
COMPILE_PASS         : True
TEST_PASS            : False
QUERY                : StrstreamTypesAreDeprecated
RULE                 : A1-1-1
COMPILE_ERROR_OUTPUT : 
TEST_DIFFERENCE      : --- expected
                       +++ actual
                       @@ -1,14 +1,21 @@
                       +| StrstreamTypesAreDeprecated.cpp:4:21:4:21 | call to strstreambuf | Use of <strstream> class 'std::strstreambuf' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:4:21:4:21 | x | Use of <strstream> class 'std::strstreambuf' is deprecated. |
                       +| StrstreamTypesAreDeprecated.cpp:5:1:5:1 | call to ~strstreambuf | Use of <strstream> class 'std::strstreambuf' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:7:20:7:21 | f1 | Use of <strstream> class 'std::strstreambuf' is deprecated. |
                       +| StrstreamTypesAreDeprecated.cpp:8:10:8:32 | call to strstreambuf | Use of <strstream> class 'std::strstreambuf' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:12:19:12:20 | i1 | Use of <strstream> class 'std::istrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:12:22:12:27 | call to istrstream | Use of <strstream> class 'std::istrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:14:19:14:20 | i2 | Use of <strstream> class 'std::istrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:14:22:14:23 | call to istrstream | Use of <strstream> class 'std::istrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:16:19:16:20 | i3 | Use of <strstream> class 'std::istrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:16:22:16:37 | call to istrstream | Use of <strstream> class 'std::istrstream' is deprecated. |
                       +| StrstreamTypesAreDeprecated.cpp:17:1:17:1 | call to ~istrstream | Use of <strstream> class 'std::istrstream' is deprecated. |
                       +| StrstreamTypesAreDeprecated.cpp:17:1:17:1 | call to ~istrstream | Use of <strstream> class 'std::istrstream' is deprecated. |
                       +| StrstreamTypesAreDeprecated.cpp:17:1:17:1 | call to ~istrstream | Use of <strstream> class 'std::istrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:19:18:19:19 | f2 | Use of <strstream> class 'std::istrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:20:10:20:31 | call to istrstream | Use of <strstream> class 'std::istrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:24:19:24:19 | call to ostrstream | Use of <strstream> class 'std::ostrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:24:19:24:19 | o | Use of <strstream> class 'std::ostrstream' is deprecated. |
                       +| StrstreamTypesAreDeprecated.cpp:25:1:25:1 | call to ~ostrstream | Use of <strstream> class 'std::ostrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:27:18:27:19 | f3 | Use of <strstream> class 'std::ostrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:28:10:28:30 | call to ostrstream | Use of <strstream> class 'std::ostrstream' is deprecated. |
                       [1/1 comp 1m19s eval 6.2s] FAILED(RESULT) /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.qlref
                       
PACKAGE              : Toolchain

SUITE                : AUTOSAR
COMPILE_PASS         : True
TEST_PASS            : True
QUERY                : DynamicExceptionsAreDeprecated
RULE                 : A1-1-1
COMPILE_ERROR_OUTPUT : 
TEST_DIFFERENCE      : 
PACKAGE              : Toolchain

SUITE                : CERT-C++
COMPILE_PASS         : True
TEST_PASS            : True
QUERY                : DeletingPointerToIncompleteClass
RULE                 : EXP57-CPP
COMPILE_ERROR_OUTPUT : 
TEST_DIFFERENCE      : 
PACKAGE              : Pointers

SUITE                : CERT-C++
COMPILE_PASS         : True
TEST_PASS            : True
QUERY                : CastOfPointerToIncompleteClass
RULE                 : EXP57-CPP
COMPILE_ERROR_OUTPUT : 
TEST_DIFFERENCE      : 
PACKAGE              : Pointers

SUITE                : AUTOSAR
COMPILE_PASS         : True
TEST_PASS            : True
QUERY                : DeletingPointerToIncompleteType
RULE                 : A5-3-3
COMPILE_ERROR_OUTPUT : 
TEST_DIFFERENCE      : 
PACKAGE              : Pointers

SUITE                : CERT-C++
COMPILE_PASS         : True
TEST_PASS            : True
QUERY                : UsesValidContainerElementAccess
RULE                 : CTR51-CPP
COMPILE_ERROR_OUTPUT : 
TEST_DIFFERENCE      : 
PACKAGE              : Iterators

SUITE                : CERT-C++
COMPILE_PASS         : True
TEST_PASS            : True
QUERY                : UseValidReferencesForElementsOfString
RULE                 : STR52-CPP
COMPILE_ERROR_OUTPUT : 
TEST_DIFFERENCE      : 
PACKAGE              : Iterators

SUITE                : AUTOSAR
COMPILE_PASS         : True
TEST_PASS            : True
QUERY                : ValidContainerElementAccess
RULE                 : A23-0-2
COMPILE_ERROR_OUTPUT : 
TEST_DIFFERENCE      : 
PACKAGE              : Iterators


@jsinglet
Copy link
Contributor

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


COMPILE_PASS         : True
TEST_DIFFERENCE      : 
RULE                 : A1-1-1
SUITE                : AUTOSAR
PACKAGE              : Toolchain
COMPILE_ERROR_OUTPUT : 
TEST_PASS            : True
QUERY                : ImplicitCopyAssignmentOperatorIsDeprecated

COMPILE_PASS         : True
TEST_DIFFERENCE      : 
RULE                 : A1-1-1
SUITE                : AUTOSAR
PACKAGE              : Toolchain
COMPILE_ERROR_OUTPUT : 
TEST_PASS            : True
QUERY                : RegisterKeywordIsDeprecated

COMPILE_PASS         : True
TEST_DIFFERENCE      : 
RULE                 : A1-1-1
SUITE                : AUTOSAR
PACKAGE              : Toolchain
COMPILE_ERROR_OUTPUT : 
TEST_PASS            : True
QUERY                : CStandardLibraryHeadersAreDeprecated

COMPILE_PASS         : True
TEST_DIFFERENCE      : 
RULE                 : A1-1-1
SUITE                : AUTOSAR
PACKAGE              : Toolchain
COMPILE_ERROR_OUTPUT : 
TEST_PASS            : True
QUERY                : IncrementOperatorWithBoolOperandIsDeprecated

COMPILE_PASS         : True
TEST_DIFFERENCE      : 
RULE                 : A1-1-1
SUITE                : AUTOSAR
PACKAGE              : Toolchain
COMPILE_ERROR_OUTPUT : 
TEST_PASS            : True
QUERY                : ImplicitCopyConstructorIsDeprecated

COMPILE_PASS         : True
TEST_DIFFERENCE      : --- expected
                       +++ actual
                       @@ -1,14 +1,21 @@
                       +| StrstreamTypesAreDeprecated.cpp:4:21:4:21 | call to strstreambuf | Use of <strstream> class 'std::strstreambuf' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:4:21:4:21 | x | Use of <strstream> class 'std::strstreambuf' is deprecated. |
                       +| StrstreamTypesAreDeprecated.cpp:5:1:5:1 | call to ~strstreambuf | Use of <strstream> class 'std::strstreambuf' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:7:20:7:21 | f1 | Use of <strstream> class 'std::strstreambuf' is deprecated. |
                       +| StrstreamTypesAreDeprecated.cpp:8:10:8:32 | call to strstreambuf | Use of <strstream> class 'std::strstreambuf' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:12:19:12:20 | i1 | Use of <strstream> class 'std::istrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:12:22:12:27 | call to istrstream | Use of <strstream> class 'std::istrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:14:19:14:20 | i2 | Use of <strstream> class 'std::istrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:14:22:14:23 | call to istrstream | Use of <strstream> class 'std::istrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:16:19:16:20 | i3 | Use of <strstream> class 'std::istrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:16:22:16:37 | call to istrstream | Use of <strstream> class 'std::istrstream' is deprecated. |
                       +| StrstreamTypesAreDeprecated.cpp:17:1:17:1 | call to ~istrstream | Use of <strstream> class 'std::istrstream' is deprecated. |
                       +| StrstreamTypesAreDeprecated.cpp:17:1:17:1 | call to ~istrstream | Use of <strstream> class 'std::istrstream' is deprecated. |
                       +| StrstreamTypesAreDeprecated.cpp:17:1:17:1 | call to ~istrstream | Use of <strstream> class 'std::istrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:19:18:19:19 | f2 | Use of <strstream> class 'std::istrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:20:10:20:31 | call to istrstream | Use of <strstream> class 'std::istrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:24:19:24:19 | call to ostrstream | Use of <strstream> class 'std::ostrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:24:19:24:19 | o | Use of <strstream> class 'std::ostrstream' is deprecated. |
                       +| StrstreamTypesAreDeprecated.cpp:25:1:25:1 | call to ~ostrstream | Use of <strstream> class 'std::ostrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:27:18:27:19 | f3 | Use of <strstream> class 'std::ostrstream' is deprecated. |
                        | StrstreamTypesAreDeprecated.cpp:28:10:28:30 | call to ostrstream | Use of <strstream> class 'std::ostrstream' is deprecated. |
                       [1/1 comp 1m22s eval 6.2s] FAILED(RESULT) /__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql-coding-standards/cpp/autosar/test/rules/A1-1-1/StrstreamTypesAreDeprecated.qlref
                       
RULE                 : A1-1-1
SUITE                : AUTOSAR
PACKAGE              : Toolchain
COMPILE_ERROR_OUTPUT : 
TEST_PASS            : False
QUERY                : StrstreamTypesAreDeprecated

COMPILE_PASS         : True
TEST_DIFFERENCE      : 
RULE                 : A1-1-1
SUITE                : AUTOSAR
PACKAGE              : Toolchain
COMPILE_ERROR_OUTPUT : 
TEST_PASS            : True
QUERY                : DynamicExceptionsAreDeprecated

COMPILE_PASS         : True
TEST_DIFFERENCE      : 
RULE                 : EXP57-CPP
SUITE                : CERT-C++
PACKAGE              : Pointers
COMPILE_ERROR_OUTPUT : 
TEST_PASS            : True
QUERY                : DeletingPointerToIncompleteClass

COMPILE_PASS         : True
TEST_DIFFERENCE      : 
RULE                 : EXP57-CPP
SUITE                : CERT-C++
PACKAGE              : Pointers
COMPILE_ERROR_OUTPUT : 
TEST_PASS            : True
QUERY                : CastOfPointerToIncompleteClass

COMPILE_PASS         : True
TEST_DIFFERENCE      : 
RULE                 : A5-3-3
SUITE                : AUTOSAR
PACKAGE              : Pointers
COMPILE_ERROR_OUTPUT : 
TEST_PASS            : True
QUERY                : DeletingPointerToIncompleteType

COMPILE_PASS         : True
TEST_DIFFERENCE      : 
RULE                 : CTR51-CPP
SUITE                : CERT-C++
PACKAGE              : Iterators
COMPILE_ERROR_OUTPUT : 
TEST_PASS            : True
QUERY                : UsesValidContainerElementAccess

COMPILE_PASS         : True
TEST_DIFFERENCE      : 
RULE                 : STR52-CPP
SUITE                : CERT-C++
PACKAGE              : Iterators
COMPILE_ERROR_OUTPUT : 
TEST_PASS            : True
QUERY                : UseValidReferencesForElementsOfString

COMPILE_PASS         : True
TEST_DIFFERENCE      : 
RULE                 : A23-0-2
SUITE                : AUTOSAR
PACKAGE              : Iterators
COMPILE_ERROR_OUTPUT : 
TEST_PASS            : True
QUERY                : ValidContainerElementAccess


@jsinglet
Copy link
Contributor

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

1 similar comment
@jsinglet
Copy link
Contributor

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

@jsinglet jsinglet merged commit f98ebdb into github:main Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants