Skip to content

Fails build with 'printf' was not declared in this scope #65

@joa-quim

Description

@joa-quim

Updated after my comment in #5982 but still get

julia> Pkg.build("Clang")
INFO: Building Clang
g++ wrapclang.cpp -fPIC -c -o wrapclang.cpp.o -I/c/programs/julia64/deps/llvm-3.3/include -g -Wall -
Wno-strict-aliasing -fno-omit-frame-pointer -fPIC -IC:/programs/llvm_trunk/compileds/include
wrapclang.cpp:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by
default]
wrapclang.cpp: In function 'void wci_debug_token(CXTranslationUnit, char*)':
wrapclang.cpp:118:69: error: 'printf' was not declared in this scope
wrapclang.cpp: In function 'void wci_print_tokens(CXTranslationUnit, char*)':
wrapclang.cpp:131:71: error: 'printf' was not declared in this scope
make: *** [wrapclang.cpp.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions