This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81587] GCC doesn't warn about calling functions that don't exist
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 27 Jul 2017 20:05:21 +0000
- Subject: [Bug c++/81587] GCC doesn't warn about calling functions that don't exist
- Auto-submitted: auto-generated
- References: <bug-81587-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81587
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |marxin at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
>
> int main (void)
> {
> float random_name(double haystack, double needle);
> void* missingf(float test);
>
Hello.
These are declarations of nested functions, you're not using them. Thus the
compiler does not complain. Closing as invalid.