Skip to content
New issue

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

WARNING: [a] concatenation is deprecated #78

Closed
maxruby opened this issue Mar 4, 2015 · 0 comments
Closed

WARNING: [a] concatenation is deprecated #78

maxruby opened this issue Mar 4, 2015 · 0 comments

Comments

@maxruby
Copy link
Contributor

maxruby commented Mar 4, 2015

I realize that this is an ongoing Julia v0.4 issue #10290, but can one disable the deprecation WARNINGS below easily in Cxx.jl?

julia> using Cxx
julia> cxx""" #include<iostream> """
julia> cxx"""  
                void mycppfunction() {   
                   int z = 0;
                   int y = 5;
                   int x = 10;
                   z = x*y + 2;
                   std::cout << "The number is " << z << std::endl;
                }
             """
julia> julia_function() = @cxx mycppfunction()
julia_function (generic function with 1 method)

julia> julia_function()
WARNING: [a] concatenation is deprecated; use [a;] instead
 in depwarn at ./deprecated.jl:40
 in oldstyle_vcat_warning at ./abstractarray.jl:26
The number is 52
@Keno Keno closed this as completed in 8b01b55 Mar 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant