mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
d1f5c31820
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.
16 lines
342 B
C
16 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
|