mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 11:14:39 +00:00
Guard clang pragmas against MSVC.
This commit is contained in:
@@ -16,8 +16,11 @@
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#pragma clang diagnostic push
|
||||
#pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection"
|
||||
#endif
|
||||
|
||||
#ifndef LIBAARUFORMAT_AARU_H
|
||||
#define LIBAARUFORMAT_AARU_H
|
||||
|
||||
@@ -1166,4 +1169,6 @@ typedef enum
|
||||
|
||||
#endif // LIBAARUFORMAT_AARU_H
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
#ifndef _MSC_VER
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
@@ -16,8 +16,11 @@
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#pragma clang diagnostic push
|
||||
#pragma ide diagnostic ignored "OCUnusedMacroInspection"
|
||||
#endif
|
||||
|
||||
#ifndef LIBAARUFORMAT_CONSTS_H
|
||||
#define LIBAARUFORMAT_CONSTS_H
|
||||
|
||||
@@ -50,4 +53,6 @@
|
||||
|
||||
#endif // LIBAARUFORMAT_CONSTS_H
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
#ifndef _MSC_VER
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
@@ -16,8 +16,11 @@
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#pragma clang diagnostic push
|
||||
#pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection"
|
||||
#endif
|
||||
|
||||
#ifndef LIBAARUFORMAT_ENUMS_H
|
||||
#define LIBAARUFORMAT_ENUMS_H
|
||||
|
||||
@@ -285,4 +288,6 @@ typedef enum
|
||||
|
||||
#endif // LIBAARUFORMAT_ENUMS_H
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
#ifndef _MSC_VER
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
@@ -16,8 +16,11 @@
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#pragma clang diagnostic push
|
||||
#pragma ide diagnostic ignored "OCUnusedGlobalDeclarationInspection"
|
||||
#endif
|
||||
|
||||
#ifndef LIBAARUFORMAT_STRUCTS_H
|
||||
#define LIBAARUFORMAT_STRUCTS_H
|
||||
|
||||
@@ -309,4 +312,6 @@ typedef struct CdEccContext
|
||||
|
||||
#endif // LIBAARUFORMAT_STRUCTS_H
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
#ifndef _MSC_VER
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
Reference in New Issue
Block a user