Package Contracts6

Description

[x] EXP40-C
[x] RULE-17-5
[x] RULE-17-7

Change request type

[ ] Release or process automation (GitHub workflows, internal scripts)
[ ] Internal documentation
[ ] External documentation
[x] 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
[x] 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
[x] 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

[x] Have all the relevant rule package description files been checked in?
[x] Have you verified that the metadata properties of each new query is set appropriately?
[x] Do all the unit tests contain both "COMPLIANT" and "NON_COMPLIANT" cases?
[x] Are the alert messages properly formatted and consistent with the style guide?
[x] 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.
[x] Does the query have an appropriate level of in-query comments/documentation?
[x] Have you considered/identified possible edge cases?
[x] Does the query not reinvent features in the standard library?
[x] 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!)

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

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

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

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

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

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

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

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

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

PACKAGE              : Toolchain
SUITE                : AUTOSAR
RULE                 : A1-1-1
COMPILE_PASS         : False
TEST_DIFFERENCE      :
TEST_PASS            : False
QUERY                : ImplicitCopyConstructorIsDeprecated
COMPILE_ERROR_OUTPUT : [2023-02-27 16:36: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 16:36: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 16:36:38] [build-stderr]  typedef _Atomic _Bool atomic_bool;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic char atomic_char;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic signed char atomic_schar;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic unsigned char atomic_uchar;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic short atomic_short;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic unsigned short atomic_ushort;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic int atomic_int;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic unsigned int atomic_uint;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic long atomic_long;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic unsigned long atomic_ulong;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic long long atomic_llong;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic unsigned long long atomic_ullong;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __CHAR16_TYPE__ atomic_char16_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __CHAR32_TYPE__ atomic_char32_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __SIZE_TYPE__ atomic_size_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic struct
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  } atomic_flag;
                       [2023-02-27 16:36:38] [build-stderr]    ^~~~~~~~~~~
                       [2023-02-27 16:36:38] [build-stderr]    atomic_load
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  extern _Bool atomic_flag_test_and_set (volatile atomic_flag *);
                       [2023-02-27 16:36:38] [build-stderr]                                                  ^~~~~~~~~~~
                       [2023-02-27 16:36:38] [build-stderr]                                                  atomic_load
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *,
                       [2023-02-27 16:36:38] [build-stderr]                                                           ^~~~~~~~~~~
                       [2023-02-27 16:36:38] [build-stderr]                                                           atomic_load
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  extern void atomic_flag_clear (volatile atomic_flag *);
                       [2023-02-27 16:36:38] [build-stderr]                                          ^~~~~~~~~~~
                       [2023-02-27 16:36:38] [build-stderr]                                          atomic_load
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order);
                       [2023-02-27 16:36:38] [build-stderr]                                                   ^~~~~~~~~~~
                       [2023-02-27 16:36:38] [build-stderr]                                                   atomic_load
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]  void test_des_1() throw(int);        // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]                    ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]  void test_des_2() throw(int, float); // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]                    ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    Foo(bool) throw(int);            // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]              ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    Foo(int, bool) throw(int, bool); // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]                   ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [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 16:36:40] [build-stderr]    Ref &operator=(Ref) {}
                       [2023-02-27 16:36:40] [build-stderr]                         ^
                       [2023-02-27 16:36:40] [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 16:36:40] [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 16:36:40] [build-stderr]    ++b;        // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]      ^
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    b++;        // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]     ^~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    r.getX()++; // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]            ^~
                       [2023-02-27 16:36:40] [build-stderr] In file included from /usr/include/c++/8/backward/strstream:50,
                       [2023-02-27 16:36:40] [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 16:36:40] [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 16:36:40] [build-stderr]  #warning \
                       [2023-02-27 16:36:40] [build-stderr]   ^~~~~~~
                       [2023-02-27 16:36: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 16:36: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 16:36:40] [build-stderr]    char *s = "foo";
                       [2023-02-27 16:36:40] [build-stderr]              ^~~~~
                       [2023-02-27 16:36:41] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, 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])

PACKAGE              : Toolchain
SUITE                : AUTOSAR
RULE                 : A1-1-1
COMPILE_PASS         : False
TEST_DIFFERENCE      :
TEST_PASS            : False
QUERY                : IncrementOperatorWithBoolOperandIsDeprecated
COMPILE_ERROR_OUTPUT : [2023-02-27 16:36: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 16:36: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 16:36:38] [build-stderr]  typedef _Atomic _Bool atomic_bool;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic char atomic_char;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic signed char atomic_schar;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic unsigned char atomic_uchar;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic short atomic_short;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic unsigned short atomic_ushort;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic int atomic_int;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic unsigned int atomic_uint;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic long atomic_long;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic unsigned long atomic_ulong;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic long long atomic_llong;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic unsigned long long atomic_ullong;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __CHAR16_TYPE__ atomic_char16_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __CHAR32_TYPE__ atomic_char32_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __SIZE_TYPE__ atomic_size_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t;
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  typedef _Atomic struct
                       [2023-02-27 16:36:38] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  } atomic_flag;
                       [2023-02-27 16:36:38] [build-stderr]    ^~~~~~~~~~~
                       [2023-02-27 16:36:38] [build-stderr]    atomic_load
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  extern _Bool atomic_flag_test_and_set (volatile atomic_flag *);
                       [2023-02-27 16:36:38] [build-stderr]                                                  ^~~~~~~~~~~
                       [2023-02-27 16:36:38] [build-stderr]                                                  atomic_load
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *,
                       [2023-02-27 16:36:38] [build-stderr]                                                           ^~~~~~~~~~~
                       [2023-02-27 16:36:38] [build-stderr]                                                           atomic_load
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  extern void atomic_flag_clear (volatile atomic_flag *);
                       [2023-02-27 16:36:38] [build-stderr]                                          ^~~~~~~~~~~
                       [2023-02-27 16:36:38] [build-stderr]                                          atomic_load
                       [2023-02-27 16:36: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 16:36:38] [build-stderr]  extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order);
                       [2023-02-27 16:36:38] [build-stderr]                                                   ^~~~~~~~~~~
                       [2023-02-27 16:36:38] [build-stderr]                                                   atomic_load
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]  void test_des_1() throw(int);        // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]                    ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]  void test_des_2() throw(int, float); // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]                    ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    Foo(bool) throw(int);            // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]              ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    Foo(int, bool) throw(int, bool); // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]                   ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [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 16:36:40] [build-stderr]    Ref &operator=(Ref) {}
                       [2023-02-27 16:36:40] [build-stderr]                         ^
                       [2023-02-27 16:36:40] [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 16:36:40] [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 16:36:40] [build-stderr]    ++b;        // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]      ^
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    b++;        // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]     ^~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    r.getX()++; // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]            ^~
                       [2023-02-27 16:36:40] [build-stderr] In file included from /usr/include/c++/8/backward/strstream:50,
                       [2023-02-27 16:36:40] [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 16:36:40] [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 16:36:40] [build-stderr]  #warning \
                       [2023-02-27 16:36:40] [build-stderr]   ^~~~~~~
                       [2023-02-27 16:36: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 16:36: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 16:36:40] [build-stderr]    char *s = "foo";
                       [2023-02-27 16:36:40] [build-stderr]              ^~~~~
                       [2023-02-27 16:36:41] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, 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])

PACKAGE              : Toolchain
SUITE                : AUTOSAR
RULE                 : A1-1-1
COMPILE_PASS         : False
TEST_DIFFERENCE      :
TEST_PASS            : False
QUERY                : ImplicitCopyAssignmentOperatorIsDeprecated
COMPILE_ERROR_OUTPUT : [2023-02-27 16:36:39] [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 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic _Bool atomic_bool;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic char atomic_char;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic signed char atomic_schar;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic unsigned char atomic_uchar;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic short atomic_short;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic unsigned short atomic_ushort;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic int atomic_int;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic unsigned int atomic_uint;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic long atomic_long;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic unsigned long atomic_ulong;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic long long atomic_llong;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic unsigned long long atomic_ullong;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __CHAR16_TYPE__ atomic_char16_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __CHAR32_TYPE__ atomic_char32_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __SIZE_TYPE__ atomic_size_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic struct
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  } atomic_flag;
                       [2023-02-27 16:36:39] [build-stderr]    ^~~~~~~~~~~
                       [2023-02-27 16:36:39] [build-stderr]    atomic_load
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  extern _Bool atomic_flag_test_and_set (volatile atomic_flag *);
                       [2023-02-27 16:36:39] [build-stderr]                                                  ^~~~~~~~~~~
                       [2023-02-27 16:36:39] [build-stderr]                                                  atomic_load
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *,
                       [2023-02-27 16:36:39] [build-stderr]                                                           ^~~~~~~~~~~
                       [2023-02-27 16:36:39] [build-stderr]                                                           atomic_load
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  extern void atomic_flag_clear (volatile atomic_flag *);
                       [2023-02-27 16:36:39] [build-stderr]                                          ^~~~~~~~~~~
                       [2023-02-27 16:36:39] [build-stderr]                                          atomic_load
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order);
                       [2023-02-27 16:36:39] [build-stderr]                                                   ^~~~~~~~~~~
                       [2023-02-27 16:36:39] [build-stderr]                                                   atomic_load
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]  void test_des_1() throw(int);        // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]                    ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]  void test_des_2() throw(int, float); // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]                    ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    Foo(bool) throw(int);            // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]              ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    Foo(int, bool) throw(int, bool); // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]                   ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [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 16:36:40] [build-stderr]    Ref &operator=(Ref) {}
                       [2023-02-27 16:36:40] [build-stderr]                         ^
                       [2023-02-27 16:36:40] [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 16:36:40] [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 16:36:40] [build-stderr]    ++b;        // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]      ^
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    b++;        // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]     ^~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    r.getX()++; // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]            ^~
                       [2023-02-27 16:36:40] [build-stderr] In file included from /usr/include/c++/8/backward/strstream:50,
                       [2023-02-27 16:36:40] [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 16:36:40] [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 16:36:40] [build-stderr]  #warning \
                       [2023-02-27 16:36:40] [build-stderr]   ^~~~~~~
                       [2023-02-27 16:36: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 16:36: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 16:36:40] [build-stderr]    char *s = "foo";
                       [2023-02-27 16:36:40] [build-stderr]              ^~~~~
                       [2023-02-27 16:36:41] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, 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])

PACKAGE              : Toolchain
SUITE                : AUTOSAR
RULE                 : A1-1-1
COMPILE_PASS         : False
TEST_DIFFERENCE      :
TEST_PASS            : False
QUERY                : CStandardLibraryHeadersAreDeprecated
COMPILE_ERROR_OUTPUT : [2023-02-27 16:36:39] [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 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic _Bool atomic_bool;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic char atomic_char;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic signed char atomic_schar;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic unsigned char atomic_uchar;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic short atomic_short;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic unsigned short atomic_ushort;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic int atomic_int;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic unsigned int atomic_uint;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic long atomic_long;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic unsigned long atomic_ulong;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic long long atomic_llong;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic unsigned long long atomic_ullong;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __CHAR16_TYPE__ atomic_char16_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __CHAR32_TYPE__ atomic_char32_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __SIZE_TYPE__ atomic_size_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic struct
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  } atomic_flag;
                       [2023-02-27 16:36:39] [build-stderr]    ^~~~~~~~~~~
                       [2023-02-27 16:36:39] [build-stderr]    atomic_load
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  extern _Bool atomic_flag_test_and_set (volatile atomic_flag *);
                       [2023-02-27 16:36:39] [build-stderr]                                                  ^~~~~~~~~~~
                       [2023-02-27 16:36:39] [build-stderr]                                                  atomic_load
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *,
                       [2023-02-27 16:36:39] [build-stderr]                                                           ^~~~~~~~~~~
                       [2023-02-27 16:36:39] [build-stderr]                                                           atomic_load
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  extern void atomic_flag_clear (volatile atomic_flag *);
                       [2023-02-27 16:36:39] [build-stderr]                                          ^~~~~~~~~~~
                       [2023-02-27 16:36:39] [build-stderr]                                          atomic_load
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order);
                       [2023-02-27 16:36:39] [build-stderr]                                                   ^~~~~~~~~~~
                       [2023-02-27 16:36:39] [build-stderr]                                                   atomic_load
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]  void test_des_1() throw(int);        // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]                    ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]  void test_des_2() throw(int, float); // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]                    ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    Foo(bool) throw(int);            // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]              ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    Foo(int, bool) throw(int, bool); // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]                   ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [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 16:36:40] [build-stderr]    Ref &operator=(Ref) {}
                       [2023-02-27 16:36:40] [build-stderr]                         ^
                       [2023-02-27 16:36:40] [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 16:36:40] [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 16:36:40] [build-stderr]    ++b;        // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]      ^
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    b++;        // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]     ^~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    r.getX()++; // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]            ^~
                       [2023-02-27 16:36:40] [build-stderr] In file included from /usr/include/c++/8/backward/strstream:50,
                       [2023-02-27 16:36:40] [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 16:36:40] [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 16:36:40] [build-stderr]  #warning \
                       [2023-02-27 16:36:40] [build-stderr]   ^~~~~~~
                       [2023-02-27 16:36: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 16:36: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 16:36:40] [build-stderr]    char *s = "foo";
                       [2023-02-27 16:36:40] [build-stderr]              ^~~~~
                       [2023-02-27 16:36:41] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, 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])

PACKAGE              : Toolchain
SUITE                : AUTOSAR
RULE                 : A1-1-1
COMPILE_PASS         : False
TEST_DIFFERENCE      :
TEST_PASS            : False
QUERY                : DynamicExceptionsAreDeprecated
COMPILE_ERROR_OUTPUT : [2023-02-27 16:36:39] [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 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic _Bool atomic_bool;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic char atomic_char;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic signed char atomic_schar;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic unsigned char atomic_uchar;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic short atomic_short;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic unsigned short atomic_ushort;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic int atomic_int;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic unsigned int atomic_uint;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic long atomic_long;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic unsigned long atomic_ulong;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic long long atomic_llong;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic unsigned long long atomic_ullong;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __CHAR16_TYPE__ atomic_char16_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __CHAR32_TYPE__ atomic_char32_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __WCHAR_TYPE__ atomic_wchar_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_LEAST8_TYPE__ atomic_int_least8_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_LEAST8_TYPE__ atomic_uint_least8_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_LEAST16_TYPE__ atomic_int_least16_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_LEAST16_TYPE__ atomic_uint_least16_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_LEAST32_TYPE__ atomic_int_least32_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_LEAST32_TYPE__ atomic_uint_least32_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_LEAST64_TYPE__ atomic_int_least64_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_LEAST64_TYPE__ atomic_uint_least64_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_FAST8_TYPE__ atomic_int_fast8_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_FAST8_TYPE__ atomic_uint_fast8_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_FAST16_TYPE__ atomic_int_fast16_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_FAST16_TYPE__ atomic_uint_fast16_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_FAST32_TYPE__ atomic_int_fast32_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_FAST32_TYPE__ atomic_uint_fast32_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INT_FAST64_TYPE__ atomic_int_fast64_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINT_FAST64_TYPE__ atomic_uint_fast64_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INTPTR_TYPE__ atomic_intptr_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINTPTR_TYPE__ atomic_uintptr_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __SIZE_TYPE__ atomic_size_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __PTRDIFF_TYPE__ atomic_ptrdiff_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __INTMAX_TYPE__ atomic_intmax_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic __UINTMAX_TYPE__ atomic_uintmax_t;
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  typedef _Atomic struct
                       [2023-02-27 16:36:39] [build-stderr]          ^~~~~~~
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  } atomic_flag;
                       [2023-02-27 16:36:39] [build-stderr]    ^~~~~~~~~~~
                       [2023-02-27 16:36:39] [build-stderr]    atomic_load
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  extern _Bool atomic_flag_test_and_set (volatile atomic_flag *);
                       [2023-02-27 16:36:39] [build-stderr]                                                  ^~~~~~~~~~~
                       [2023-02-27 16:36:39] [build-stderr]                                                  atomic_load
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  extern _Bool atomic_flag_test_and_set_explicit (volatile atomic_flag *,
                       [2023-02-27 16:36:39] [build-stderr]                                                           ^~~~~~~~~~~
                       [2023-02-27 16:36:39] [build-stderr]                                                           atomic_load
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  extern void atomic_flag_clear (volatile atomic_flag *);
                       [2023-02-27 16:36:39] [build-stderr]                                          ^~~~~~~~~~~
                       [2023-02-27 16:36:39] [build-stderr]                                          atomic_load
                       [2023-02-27 16:36:39] [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 16:36:39] [build-stderr]  extern void atomic_flag_clear_explicit (volatile atomic_flag *, memory_order);
                       [2023-02-27 16:36:39] [build-stderr]                                                   ^~~~~~~~~~~
                       [2023-02-27 16:36:39] [build-stderr]                                                   atomic_load
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]  void test_des_1() throw(int);        // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]                    ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]  void test_des_2() throw(int, float); // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]                    ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    Foo(bool) throw(int);            // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]              ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    Foo(int, bool) throw(int, bool); // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]                   ^~~~~
                       [2023-02-27 16:36:40] [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 16:36:40] [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 16:36:40] [build-stderr]    Ref &operator=(Ref) {}
                       [2023-02-27 16:36:40] [build-stderr]                         ^
                       [2023-02-27 16:36:40] [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 16:36:40] [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 16:36:40] [build-stderr]    ++b;        // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]      ^
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    b++;        // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]     ^~
                       [2023-02-27 16:36:40] [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 16:36:40] [build-stderr]    r.getX()++; // NON_COMPLIANT
                       [2023-02-27 16:36:40] [build-stderr]            ^~
                       [2023-02-27 16:36:40] [build-stderr] In file included from /usr/include/c++/8/backward/strstream:50,
                       [2023-02-27 16:36:40] [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 16:36:40] [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 16:36:40] [build-stderr]  #warning \
                       [2023-02-27 16:36:40] [build-stderr]   ^~~~~~~
                       [2023-02-27 16:36: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 16:36: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 16:36:40] [build-stderr]    char *s = "foo";
                       [2023-02-27 16:36:40] [build-stderr]              ^~~~~
                       [2023-02-27 16:36:41] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/__w/codeql-coding-standards-release-engineering/codeql-coding-standards-release-engineering/codeql/tools/linux64/preload_tracer, 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])

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