public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/67569] New: erroneous compiler error message
@ 2015-09-14  9:38 ka_bena at yahoo dot fr
  2015-09-14 12:27 ` [Bug c/67569] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ka_bena at yahoo dot fr @ 2015-09-14  9:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67569

            Bug ID: 67569
           Summary: erroneous compiler error message
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ka_bena at yahoo dot fr
  Target Milestone: ---

/* Erroneous compiler error message */

 int main(void)
{
   int   *A = (int *)533 ;
   float  F = 1.F        ;
   A - F                 ;   
   return 0             ;
}

/*
   Results:
   In function 'main':
   main_comp_err_msg.c:6:5: 
   erreur: invalid operands to binary - (have 'int *' and 'long double')
       A-F;
         ^
   Note:
   The variable F is not of type long double.        

   Microsoft Windows XP Profesional version2002 Service Pack 3.
   Gcc 4.8.0 win32 mingw32 -std=C99 

*/


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-14 13:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-14  9:38 [Bug c/67569] New: erroneous compiler error message ka_bena at yahoo dot fr
2015-09-14 12:27 ` [Bug c/67569] " pinskia at gcc dot gnu.org
2015-09-14 13:01 ` [Bug c/67569] wrong type in " manu at gcc dot gnu.org
2015-09-14 13:27 ` ka_bena at yahoo dot fr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).