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 */