https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67668
Bug ID: 67668 Summary: erroneous type argument for unary operator one's complement 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: --- int main(void) { ~( 1. + 0.i ) ; ~(1.) ; return 0 ; } /* Results:: main_cmp1_err.c:4:3: attention : statement with no effect [-Wunused-value] ~( 1. + 0.i ) ; ^ main_cmp1_err.c:5:3: erreur: type d'argument erroné pour un complément de bit ~(1.) ; ^ Comment:: ( 1. + 0.i ) must be an erroneous type argument for ~ . Microsoft Windows XP Profesional version2002 Service Pack 3. Gcc 4.8.0 win32 mingw32 */