Skip to content

Package Contracts6 #180

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Feb 27, 2023
Merged

Package Contracts6 #180

merged 14 commits into from
Feb 27, 2023

Conversation

mbaluda
Copy link
Contributor

@mbaluda mbaluda commented Feb 2, 2023

Description

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

Change request type

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

Rules with added or modified queries

  • No rules added
  • Queries have been added for the following rules:
  • EXP40-C
  • RULE-17-5
  • RULE-17-7
  • Queries have been modified for the following rules:
    • rule number here

Release change checklist

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

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

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

Author: Is a change note required?

  • Yes
  • No

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

  • Confirmed

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

  • Confirmed

Query development review checklist

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

Author

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

Reviewer

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

@mbaluda mbaluda requested a review from jsinglet February 2, 2023 17:05
@mbaluda mbaluda marked this pull request as ready for review February 2, 2023 17:05
@mbaluda
Copy link
Contributor Author

mbaluda commented Feb 2, 2023

@jsinglet I'd ask you to review these rules as you wrote the tests.
I did modify and added some test cases, let me know if you have any question about that.
RULE-12-2 is moved out of the package as it will use the essential type library

@mbaluda mbaluda self-assigned this Feb 3, 2023
Copy link
Contributor

@jsinglet jsinglet left a comment

Choose a reason for hiding this comment

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

Looking great @mbaluda -- just a few questions and a request to fix my horrible spelling mistake :)

@mbaluda mbaluda requested a review from jsinglet February 9, 2023 09:35
Copy link
Contributor

@jsinglet jsinglet left a comment

Choose a reason for hiding this comment

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

Thanks for the updates @mbaluda!

@jsinglet jsinglet enabled auto-merge February 27, 2023 15:08
@mbaluda mbaluda disabled auto-merge February 27, 2023 15:13
@mbaluda mbaluda enabled auto-merge (squash) February 27, 2023 15:19
@jsinglet jsinglet changed the base branch from main to jsinglet/auth-prs February 27, 2023 16:31
@github-actions
Copy link

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

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

@mbaluda mbaluda merged commit ab38760 into github:jsinglet/auth-prs Feb 27, 2023
@jsinglet
Copy link
Contributor

🤖 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 : 


@jsinglet
Copy link
Contributor

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


TEST_DIFFERENCE      : 
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


@jsinglet
Copy link
Contributor

🤖 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
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                : StrstreamTypesAreDeprecated
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              : Pointers
SUITE                : CERT-C++
RULE                 : EXP57-CPP
COMPILE_PASS         : True
TEST_DIFFERENCE      : 
TEST_PASS            : True
QUERY                : DeletingPointerToIncompleteClass
COMPILE_ERROR_OUTPUT : 

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

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

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

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

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


@jsinglet
Copy link
Contributor

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


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

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

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

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

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

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

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

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

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

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

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

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

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


@jsinglet
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants