Monday, June 2, 2008

Some thing new about the gcc 4.2.2

Problem can be reproduced with any C file which has warnings.

Sample:

#include <stdio.h>;
int main() {
        printf("Hello World\n");
        return 0;

}

 
QSCA output (gcc 3.3.6):

anag@vgamddual18[304] gcc .././TEST.c
../TEST.c:2:21: warning: extra tokens at end of #include directive

QSCB output (gcc 4.2.2):

anag@vgamd226[104] gcc -g .././TEST.c
.././TEST.c:2:21: warning: extra tokens at end of #include directive
 
 
I am yet to find some solution to change allt he internal logs in the company., All of them has this extra ./. now in the output. That actaully is a pain since so many thousands of internal logs will have to be verified and changed now

No comments: