mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 16:31:07 +00:00
[vm] Fix build for gcc 13.2.0.
TEST=local build Change-Id: I32e400efb0f6d5e41b894f495ae2e77352f6f5fa Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/332142 Reviewed-by: Daco Harkes <dacoharkes@google.com> Commit-Queue: Daco Harkes <dacoharkes@google.com>
This commit is contained in:
parent
b791861f75
commit
379f8cac14
|
@ -238,7 +238,10 @@ config("dart_config") {
|
|||
# pointers.
|
||||
]
|
||||
} else {
|
||||
cflags += [ "-Wno-cast-function-type" ]
|
||||
cflags += [
|
||||
"-Wno-cast-function-type",
|
||||
"-Wno-dangling-reference",
|
||||
]
|
||||
}
|
||||
|
||||
ldflags = []
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
// BSD-style license that can be found in the LICENSE file.
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <iostream>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <stdarg.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
|
|
|
@ -1340,6 +1340,7 @@ ${headerCommon(copyrightYear: copyrightYear)}
|
|||
|
||||
#include <stdarg.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue