GCC -> MinGW funktioniert unter Vista nicht



  • ja...
    der titel sagt eigentlich schon alles
    ich nutzte DevC++ und damit MinGW

    #include <stdio.h>
    #include <stdlib.h>
    
    int main(int argc, char *argv[])
    {
    
      system("PAUSE");	
      return 0;
    }
    

    beim kompilieren...

    Compiler: Default compiler
    Building Makefile: "D:\programming\Makefile.win"
    Führt  make... aus
    make.exe -f "D:\programming\Makefile.win" all
    gcc.exe -c main.c -o main.o -I"C:/Dev-Cpp/include"   
    
    In file included from C:/Dev-Cpp/include/stdio.h:26,
                     from main.c:1:
    C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to search for stddef.h
    In file included from C:/Dev-Cpp/include/stdio.h:28,
    
                     from main.c:1:
    C:/Dev-Cpp/include/stdarg.h:6:24: no include path in which to search for stdarg.h
    In file included from main.c:1:
    C:/Dev-Cpp/include/stdio.h:198: error: syntax error before "size_t"
    C:/Dev-Cpp/include/stdio.h:209: error: syntax error before "size_t"
    C:/Dev-Cpp/include/stdio.h:210: error: syntax error before "__gnuc_va_list"
    C:/Dev-Cpp/include/stdio.h:211: error: syntax error before "__gnuc_va_list"
    C:/Dev-Cpp/include/stdio.h:212: error: syntax error before "__gnuc_va_list"
    C:/Dev-Cpp/include/stdio.h:213: error: syntax error before "size_t"
    C:/Dev-Cpp/include/stdio.h:216: error: syntax error before "size_t"
    
    C:/Dev-Cpp/include/stdio.h:216: warning: conflicting types for built-in function 'snprintf'
    C:/Dev-Cpp/include/stdio.h:218: error: syntax error before "size_t"
    C:/Dev-Cpp/include/stdio.h: In function `vsnprintf':
    C:/Dev-Cpp/include/stdio.h:219: error: `s' undeclared (first use in this function)
    C:/Dev-Cpp/include/stdio.h:219: error: (Each undeclared identifier is reported only once
    C:/Dev-Cpp/include/stdio.h:219: error: for each function it appears in.)
    
    C:/Dev-Cpp/include/stdio.h:219: error: `n' undeclared (first use in this function)
    C:/Dev-Cpp/include/stdio.h:219: error: `format' undeclared (first use in this function)
    C:/Dev-Cpp/include/stdio.h:219: error: `arg' undeclared (first use in this function)
    C:/Dev-Cpp/include/stdio.h: At top level:
    C:/Dev-Cpp/include/stdio.h:220: error: syntax error before "__gnuc_va_list"
    C:/Dev-Cpp/include/stdio.h:222: error: syntax error before "__gnuc_va_list"
    C:/Dev-Cpp/include/stdio.h:224: error: syntax error before "__gnuc_va_list"
    C:/Dev-Cpp/include/stdio.h:297: warning: `__cdecl__' attribute only applies to function types
    C:/Dev-Cpp/include/stdio.h:297: error: syntax error before "fread"
    C:/Dev-Cpp/include/stdio.h:298: warning: `__cdecl__' attribute only applies to function types
    C:/Dev-Cpp/include/stdio.h:298: error: syntax error before "fwrite"
    In file included from C:/Dev-Cpp/include/sys/types.h:21,
                     from C:/Dev-Cpp/include/stdio.h:399,
                     from main.c:1:
    C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to search for stddef.h
    In file included from main.c:1:
    C:/Dev-Cpp/include/stdio.h:428: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:429: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:430: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:431: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:432: error: syntax error before '*' token
    
    C:/Dev-Cpp/include/stdio.h:433: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:434: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:435: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:436: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:437: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:438: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:439: warning: `__cdecl__' attribute only applies to function types
    C:/Dev-Cpp/include/stdio.h:439: error: syntax error before "fgetwc"
    C:/Dev-Cpp/include/stdio.h:440: warning: `__cdecl__' attribute only applies to function types
    C:/Dev-Cpp/include/stdio.h:440: error: syntax error before "fputwc"
    C:/Dev-Cpp/include/stdio.h:441: warning: `__cdecl__' attribute only applies to function types
    C:/Dev-Cpp/include/stdio.h:441: error: syntax error before "ungetwc"
    C:/Dev-Cpp/include/stdio.h:444: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:444: warning: data definition has no type or storage class
    C:/Dev-Cpp/include/stdio.h:445: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:446: warning: `__cdecl__' attribute only applies to function types
    C:/Dev-Cpp/include/stdio.h:446: error: syntax error before "getwc"
    C:/Dev-Cpp/include/stdio.h:447: warning: `__cdecl__' attribute only applies to function types
    C:/Dev-Cpp/include/stdio.h:447: error: syntax error before "getwchar"
    C:/Dev-Cpp/include/stdio.h:448: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:448: warning: data definition has no type or storage class
    C:/Dev-Cpp/include/stdio.h:449: warning: `__cdecl__' attribute only applies to function types
    C:/Dev-Cpp/include/stdio.h:449: error: syntax error before "putwc"
    C:/Dev-Cpp/include/stdio.h:450: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:451: warning: `__cdecl__' attribute only applies to function types
    C:/Dev-Cpp/include/stdio.h:451: error: syntax error before "putwchar"
    C:/Dev-Cpp/include/stdio.h:452: error: syntax error before "wchar_t"
    C:/Dev-Cpp/include/stdio.h:453: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:454: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:455: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:456: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:456: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:456: warning: data definition has no type or storage class
    C:/Dev-Cpp/include/stdio.h:457: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:457: error: syntax error before '*' token
    
    C:/Dev-Cpp/include/stdio.h:457: warning: data definition has no type or storage class
    C:/Dev-Cpp/include/stdio.h:458: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:459: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:460: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:461: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:465: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:467: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h: In function `vsnwprintf':
    C:/Dev-Cpp/include/stdio.h:468: error: `s' undeclared (first use in this function)
    C:/Dev-Cpp/include/stdio.h:468: error: `n' undeclared (first use in this function)
    C:/Dev-Cpp/include/stdio.h:468: error: `format' undeclared (first use in this function)
    C:/Dev-Cpp/include/stdio.h:468: error: `arg' undeclared (first use in this function)
    C:/Dev-Cpp/include/stdio.h: At top level:
    C:/Dev-Cpp/include/stdio.h:469: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:471: error: syntax error before '*' token
    
    C:/Dev-Cpp/include/stdio.h:472: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:482: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdio.h:489: warning: `__cdecl__' attribute only applies to function types
    C:/Dev-Cpp/include/stdio.h:489: error: syntax error before "_fgetwchar"
    C:/Dev-Cpp/include/stdio.h:490: warning: `__cdecl__' attribute only applies to function types
    C:/Dev-Cpp/include/stdio.h:490: error: syntax error before "_fputwchar"
    C:/Dev-Cpp/include/stdio.h:495: warning: `__cdecl__' attribute only applies to function types
    C:/Dev-Cpp/include/stdio.h:495: error: syntax error before "fgetwchar"
    C:/Dev-Cpp/include/stdio.h:496: warning: `__cdecl__' attribute only applies to function types
    C:/Dev-Cpp/include/stdio.h:496: error: syntax error before "fputwchar"
    In file included from C:/Dev-Cpp/include/stdlib.h:22,
                     from main.c:2:
    C:/Dev-Cpp/include/stddef.h:6:24: no include path in which to search for stddef.h
    In file included from main.c:2:
    C:/Dev-Cpp/include/stdlib.h:80: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:80: warning: data definition has no type or storage class
    C:/Dev-Cpp/include/stdlib.h:151: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:151: warning: data definition has no type or storage class
    C:/Dev-Cpp/include/stdlib.h:263: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:263: warning: data definition has no type or storage class
    C:/Dev-Cpp/include/stdlib.h:308: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:309: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:323: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:325: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h: In function `wcstof':
    C:/Dev-Cpp/include/stdlib.h:326: error: `nptr' undeclared (first use in this function)
    C:/Dev-Cpp/include/stdlib.h:326: error: `endptr' undeclared (first use in this function)
    C:/Dev-Cpp/include/stdlib.h: At top level:
    C:/Dev-Cpp/include/stdlib.h:327: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:330: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:331: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:335: warning: `__cdecl__' attribute only applies to function types
    C:/Dev-Cpp/include/stdlib.h:335: error: syntax error before "wcstombs"
    C:/Dev-Cpp/include/stdlib.h:336: error: syntax error before "wchar_t"
    C:/Dev-Cpp/include/stdlib.h:338: error: syntax error before "size_t"
    C:/Dev-Cpp/include/stdlib.h:339: warning: `__cdecl__' attribute only applies to function types
    C:/Dev-Cpp/include/stdlib.h:339: error: syntax error before "mbstowcs"
    C:/Dev-Cpp/include/stdlib.h:340: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:345: warning: parameter names (without types) in function declaration
    C:/Dev-Cpp/include/stdlib.h:346: warning: parameter names (without types) in function declaration
    C:/Dev-Cpp/include/stdlib.h:347: error: syntax error before "size_t"
    C:/Dev-Cpp/include/stdlib.h:360: error: syntax error before "size_t"
    C:/Dev-Cpp/include/stdlib.h:361: error: syntax error before ')' token
    C:/Dev-Cpp/include/stdlib.h:362: error: syntax error before "size_t"
    C:/Dev-Cpp/include/stdlib.h:363: error: syntax error before ')' token
    C:/Dev-Cpp/include/stdlib.h:409: error: syntax error before "size_t"
    C:/Dev-Cpp/include/stdlib.h:414: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:414: error: syntax error before "wchar_t"
    C:/Dev-Cpp/include/stdlib.h:414: warning: data definition has no type or storage class
    C:/Dev-Cpp/include/stdlib.h:415: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:415: error: syntax error before "wchar_t"
    C:/Dev-Cpp/include/stdlib.h:415: warning: data definition has no type or storage class
    
    C:/Dev-Cpp/include/stdlib.h:416: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:416: error: syntax error before "wchar_t"
    C:/Dev-Cpp/include/stdlib.h:416: warning: data definition has no type or storage class
    C:/Dev-Cpp/include/stdlib.h:422: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:423: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:423: error: syntax error before "wchar_t"
    C:/Dev-Cpp/include/stdlib.h:423: warning: data definition has no type or storage class
    C:/Dev-Cpp/include/stdlib.h:424: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:424: error: syntax error before "wchar_t"
    C:/Dev-Cpp/include/stdlib.h:424: warning: data definition has no type or storage class
    C:/Dev-Cpp/include/stdlib.h:426: error: syntax error before '*' token
    
    C:/Dev-Cpp/include/stdlib.h:426: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:426: warning: data definition has no type or storage class
    C:/Dev-Cpp/include/stdlib.h:427: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:428: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:429: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:430: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:431: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:431: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:431: warning: data definition has no type or storage class
    C:/Dev-Cpp/include/stdlib.h:481: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:484: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:484: error: syntax error before "wchar_t"
    C:/Dev-Cpp/include/stdlib.h:484: warning: data definition has no type or storage class
    C:/Dev-Cpp/include/stdlib.h:485: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:485: error: syntax error before "wchar_t"
    C:/Dev-Cpp/include/stdlib.h:485: warning: data definition has no type or storage class
    C:/Dev-Cpp/include/stdlib.h:494: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h: In function `wtoll':
    C:/Dev-Cpp/include/stdlib.h:495: error: `_w' undeclared (first use in this function)
    C:/Dev-Cpp/include/stdlib.h: At top level:
    
    C:/Dev-Cpp/include/stdlib.h:496: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:496: error: syntax error before "wchar_t"
    C:/Dev-Cpp/include/stdlib.h: In function `lltow':
    C:/Dev-Cpp/include/stdlib.h:497: error: `_n' undeclared (first use in this function)
    C:/Dev-Cpp/include/stdlib.h:497: error: `_w' undeclared (first use in this function)
    C:/Dev-Cpp/include/stdlib.h:497: error: `_i' undeclared (first use in this function)
    C:/Dev-Cpp/include/stdlib.h: At top level:
    C:/Dev-Cpp/include/stdlib.h:498: error: syntax error before '*' token
    C:/Dev-Cpp/include/stdlib.h:498: error: syntax error before "wchar_t"
    C:/Dev-Cpp/include/stdlib.h: In function `ulltow':
    C:/Dev-Cpp/include/stdlib.h:499: error: `_n' undeclared (first use in this function)
    C:/Dev-Cpp/include/stdlib.h:499: error: `_w' undeclared (first use in this function)
    C:/Dev-Cpp/include/stdlib.h:499: error: `_i' undeclared (first use in this function)
    
    make.exe: *** [main.o] Error 1
    
    Ausführung beendet
    

    was ist falsch??
    ich hab nur das DevC++ setup ausgeführt und die "Path" variable um den pfad zu "cc1" ergänzt (cc1 wurde nicht gefunden).

    liegt das an vista?

    MfG janismac



  • Gibst ein bestimmter Grund, warum du gerne mit veralterte Programme arbeiten möchtest?

    Wenn nicht, hol dir MS VC++ Express.



  • nein, gibt es nicht
    aber ich möchte mit kostenlosen programmen arbeiten



  • ich find hier keinen link wie: "problem gelöst - thread schließen"
    gibts hier sowas nicht ??




Anmelden zum Antworten