[Bug c++/40202] New: warning about passing non-POD objects through Â... should include name and location of declaration being called
jason dot orendorff at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue May 19 20:32:00 GMT 2009
void f(...);
struct X {
X();
};
void g() {
X x;
f(x);
}
nonpod.cpp: In function Âvoid g()Â:
nonpod.cpp:9: warning: cannot pass objects of non-POD type Âstruct XÂ through
Â...Â; call will abort at runtime
Someone I know is currently trying to fix this warning in a very large
application with a complex build system. Clearly something weird is going on.
A pointer to the file and line of the function declaration would help eliminate
some possibilities at least, and possibly pinpoint the problem.
--
Summary: warning about passing non-POD objects through Â...Â
should include name and location of declaration being
called
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jason dot orendorff at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40202
More information about the Gcc-bugs
mailing list