warning: cannot pass objects of non-POD type 'struct std::string' through '...'; call will abort at runtime
What causes this warning in C? warning: cannot pass objects of non-POD type 'struct std::string' through...
You are probably trying to pass on a value of a string to a nonstring variable. For example, if you define a variable as an integer and then make it equal a string, it will give you that error.
~WhoCares357
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment