We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
Validate Expressions before emitting them for #117
0348c71
This could be an example: julia> cxx""" #include """ true
julia> cxx""" void foo (int bar) { std::cout<< "Bar is :" << bar << std::endl } """ In file included from :1: __cxxjl_4.cpp:1:65: error: expected ';' after expression void foo (int bar) { std::cout<< "Bar is :" << bar << std::endl } ^ ; true
julia> cxx""" void foo (int bar) { std::cout<< "Bar is :" << bar << std::endl; } """ __cxxjl_5.cpp:1:7: error: redefinition of 'foo' void foo (int bar) { std::cout<< "Bar is :" << bar << std::endl; } ^ __cxxjl_4.cpp:1:7: note: previous definition is here void foo (int bar) { std::cout<< "Bar is :" << bar << std::endl } ^ true
julia>
However, julia> jl_foo(a) = @cxx foo(a) jl_foo (generic function with 1 method)
julia> jl_foo(5) Bar is: 5
Sorry, something went wrong.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: