mirror of
https://github.com/acpica/acpica/
synced 2025-02-12 11:34:42 +03:00
put MSVC-specific pragma in a conditional define
date 2001.04.19.21.37.00; author agrover; state Exp;
This commit is contained in:
parent
03ffce881d
commit
a170bce786
@ -2,7 +2,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: aslcompiler.h - common include file
|
||||
* $Revision: 1.52 $
|
||||
* $Revision: 1.55 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -119,8 +119,12 @@
|
||||
#ifndef __ASLCOMPILER_H
|
||||
#define __ASLCOMPILER_H
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
#pragma warning(disable:4103)
|
||||
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
@ -196,6 +200,13 @@
|
||||
#define FILE_SUFFIX_NAMESPACE "nsp"
|
||||
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
/* warn : named type definition in parentheses */
|
||||
#pragma warning(disable:4115)
|
||||
|
||||
#endif
|
||||
|
||||
/*******************************************************************************
|
||||
*
|
||||
* Compiler prototypes
|
||||
@ -348,7 +359,7 @@ LsPopNode (void);
|
||||
*/
|
||||
|
||||
|
||||
void
|
||||
ACPI_STATUS
|
||||
OpcAmlOpcodeWalk (
|
||||
ASL_PARSE_NODE *Node,
|
||||
UINT32 Level,
|
||||
@ -394,20 +405,20 @@ CgOpenOutputFile (
|
||||
|
||||
/* asllength */
|
||||
|
||||
void
|
||||
ACPI_STATUS
|
||||
LnPackageLengthWalk (
|
||||
ASL_PARSE_NODE *Node,
|
||||
UINT32 Level,
|
||||
void *Context);
|
||||
|
||||
void
|
||||
ACPI_STATUS
|
||||
LnInitLengthsWalk (
|
||||
ASL_PARSE_NODE *Node,
|
||||
UINT32 Level,
|
||||
void *Context);
|
||||
|
||||
|
||||
void
|
||||
ACPI_STATUS
|
||||
CgAmlWriteWalk (
|
||||
ASL_PARSE_NODE *Node,
|
||||
UINT32 Level,
|
||||
@ -506,37 +517,37 @@ TrLinkPeerNodes (
|
||||
|
||||
/* Analyze */
|
||||
|
||||
void
|
||||
ACPI_STATUS
|
||||
AnSemanticAnalysisWalkBegin (
|
||||
ASL_PARSE_NODE *Node,
|
||||
UINT32 Level,
|
||||
void *Context);
|
||||
|
||||
void
|
||||
ACPI_STATUS
|
||||
AnSemanticAnalysisWalkEnd (
|
||||
ASL_PARSE_NODE *Node,
|
||||
UINT32 Level,
|
||||
void *Context);
|
||||
|
||||
void
|
||||
ACPI_STATUS
|
||||
AnMethodAnalysisWalkBegin (
|
||||
ASL_PARSE_NODE *Node,
|
||||
UINT32 Level,
|
||||
void *Context);
|
||||
|
||||
void
|
||||
ACPI_STATUS
|
||||
AnMethodAnalysisWalkEnd (
|
||||
ASL_PARSE_NODE *Node,
|
||||
UINT32 Level,
|
||||
void *Context);
|
||||
|
||||
void
|
||||
ACPI_STATUS
|
||||
AnMethodTypingWalkBegin (
|
||||
ASL_PARSE_NODE *Node,
|
||||
UINT32 Level,
|
||||
void *Context);
|
||||
|
||||
void
|
||||
ACPI_STATUS
|
||||
AnMethodTypingWalkEnd (
|
||||
ASL_PARSE_NODE *Node,
|
||||
UINT32 Level,
|
||||
|
Loading…
x
Reference in New Issue
Block a user