Skip to content

Commit

Permalink
pass type definitions to the C++ front-end
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Kroening committed Mar 7, 2018
1 parent 15ec42f commit 80ee0b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/ansi-c/ansi_c_internal_additions.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ void ansi_c_internal_additions(std::string &code);
void ansi_c_architecture_strings(std::string &code);

extern const char clang_builtin_headers[];
extern const char gcc_builtin_headers_types[];
extern const char gcc_builtin_headers_generic[];
extern const char gcc_builtin_headers_math[];
extern const char gcc_builtin_headers_mem_string[];
Expand Down
1 change: 1 addition & 0 deletions src/cpp/cpp_internal_additions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ void cpp_internal_additions(std::ostream &out)
config.ansi_c.mode==configt::ansi_ct::flavourt::ARM)
{
out << "extern \"C\" {" << '\n';
out << c2cpp(gcc_builtin_headers_types);
out << c2cpp(gcc_builtin_headers_generic);
out << c2cpp(gcc_builtin_headers_math);
out << c2cpp(gcc_builtin_headers_mem_string);
Expand Down

0 comments on commit 80ee0b1

Please sign in to comment.