mirror of
https://github.com/reactos/reactos.git
synced 2024-08-25 04:38:43 +00:00
![Jérôme Gardou](/assets/img/avatar_default.png)
GCC has some functions, variables & type attributes which can be used as aliases for some of the SAL annotations. Although it's not as rich & precise, it's still useful since we actually enable -Werror on GCC builds whereas we don't use such an option on MSVC builds. For now, _Must_inspect_result_ is aliased to warn_result_unused attribute.
17 lines
342 B
C
17 lines
342 B
C
/*
|
|
* PROJECT: ReactOS PSDK
|
|
* LICENSE: MIT (https://spdx.org/licenses/MIT)
|
|
* PURPOSE: Standard Annotation Language (SAL) definitions
|
|
* COPYRIGHT: 2021 - Jérôme Gardou
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/* Include MS version first */
|
|
#include "ms_sal.h"
|
|
|
|
/* Some overrides with GCC attributes */
|
|
#ifdef __GNUC__
|
|
#include "gcc_sal.h"
|
|
#endif
|