1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

remove execinfo.h include

This commit is contained in:
Alexander Medvednikov 2019-10-25 17:20:49 +03:00
parent 7d418e9105
commit e04c4ad852
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,5 @@
module builtin
fn C.backtrace(a voidptr, b int) int
fn C.memcpy(byteptr, byteptr, int)
fn C.memmove(byteptr, byteptr, int)
@ -14,7 +13,8 @@ fn C.strlen(s byteptr) int
fn C.backtrace_symbols_fd(voidptr, int, int)
fn backtrace(a voidptr, b int) int
fn backtrace_symbols_fd(voidptr, int, int)

View File

@ -127,7 +127,7 @@ fn (v mut V) cc() {
}
if v.pref.ccompiler != 'msvc' && v.os != .freebsd {
a << '-Werror=implicit-function-declaration'
//a << '-Werror=implicit-function-declaration'
}
for f in v.generate_hotcode_reloading_compiler_flags() {

View File

@ -21,7 +21,7 @@ CommonCHeaders = '
#ifdef __APPLE__
#include <libproc.h> // proc_pidpath
#include <execinfo.h> // backtrace and backtrace_symbols_fd
//#include <execinfo.h> // backtrace and backtrace_symbols_fd
#endif
#ifdef __linux__