This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/84076] [6/7/8 Regression] Warning about objects through POD mistakenly claims the object is a pointer
- From: "sgunderson at bigfoot dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 Jan 2018 18:16:12 +0000
- Subject: [Bug c++/84076] [6/7/8 Regression] Warning about objects through POD mistakenly claims the object is a pointer
- Auto-submitted: auto-generated
- References: <bug-84076-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84076
--- Comment #5 from sgunderson at bigfoot dot com ---
Ah, so it's allowed to send structs and classes, just not non-PODs. So that's
why the conversion to a pointer happens.