abclinuxu.cz AbcLinuxu.cz itbiz.cz ITBiz.cz HDmag.cz HDmag.cz abcprace.cz AbcPráce.cz
AbcLinuxu hledá autory!
Inzerujte na AbcPráce.cz od 950 Kč
Rozšířené hledání
×
    11.7. 16:44 | Komunita

    Dnes v 17:30 bude oficiálně vydána open source počítačová hra DOGWALK vytvořena v 3D softwaru Blender a herním enginu Godot. Release party proběhne na YouTube od 17:00.

    Ladislav Hagara | Komentářů: 3
    11.7. 14:55 | Humor

    McDonald's se spojil se společností Paradox a pracovníky nabírá také pomocí AI řešení s virtuální asistentkou Olivii běžící na webu McHire. Ian Carroll a Sam Curry se na toto AI řešení blíže podívali a opravdu je překvapilo, že se mohli přihlásit pomocí jména 123456 a hesla 123456 a získat přístup k údajům o 64 milionech uchazečů o práci.

    Ladislav Hagara | Komentářů: 9
    11.7. 00:11 | Nová verze

    Byla vydána (𝕏) červnová aktualizace aneb nová verze 1.102 editoru zdrojových kódů Visual Studio Code (Wikipedie). Přehled novinek i s náhledy a videi v poznámkách k vydání. Ve verzi 1.102 vyjde také VSCodium, tj. komunitní sestavení Visual Studia Code bez telemetrie a licenčních podmínek Microsoftu.

    Ladislav Hagara | Komentářů: 0
    10.7. 21:00 | Bezpečnostní upozornění

    Byla vydána nová verze 2.4.64 svobodného multiplatformního webového serveru Apache (httpd). Řešeno je mimo jiné 8 bezpečnostních chyb.

    Ladislav Hagara | Komentářů: 4
    10.7. 15:22 | Nová verze

    Společnost xAI na síti 𝕏 představila Grok 4, tj. novou verzi svého AI LLM modelu Grok.

    Ladislav Hagara | Komentářů: 12
    10.7. 12:55 | Bezpečnostní upozornění

    Ministerstvo vnitra odhalilo závažný kyberincident v IT systému resortu. Systém, do kterého se dostal útočník bez oprávnění, byl odpojen a nedošlo k odcizení dat [𝕏].

    Ladislav Hagara | Komentářů: 16
    10.7. 11:55 | Humor

    Před rokem byla streamovací služba HBO Max přejmenována na Max. Dle managementu slovo HBO v názvu nebylo důležité. Včera byl Max přejmenován zpět na HBO Max. Kolik milionů dolarů to stálo? 😂

    Ladislav Hagara | Komentářů: 14
    10.7. 02:11 | Nová verze

    Byla vydána nová major verze 8.0.0 svobodného systému pro detekci a prevenci průniků a monitorování bezpečnosti počítačových sítí Suricata (Wikipedie). Přehled novinek v oficiálním oznámení a v aktualizované dokumentaci.

    Ladislav Hagara | Komentářů: 0
    10.7. 01:11 | Nová verze

    Mastodon (Wikipedie) - sociální síť, která není na prodej - byl vydán ve verzi 4.4. Přehled novinek s náhledy a videi v oznámení na blogu.

    Ladislav Hagara | Komentářů: 1
    10.7. 00:11 | IT novinky

    Instituce státní správy nebudou smět využívat produkty, aplikace, řešení, webové stránky a webové služby poskytované čínskou společností DeepSeek. Na doporučení Národního úřadu pro kybernetickou a informační bezpečnost rozhodla o jejich zákazu vláda Petra Fialy na jednání ve středu 9. července 2025.

    Ladislav Hagara | Komentářů: 8
    Jaký je váš oblíbený skriptovací jazyk?
     (59%)
     (27%)
     (7%)
     (3%)
     (1%)
     (1%)
     (4%)
    Celkem 389 hlasů
     Komentářů: 16, poslední 8.6. 21:05
    Rozcestník

    Miluju g++

    21.7.2006 10:25 | Přečteno: 1814×

    Stacil jeden preklep a napsat:

            std::stream& out;
    
    misto:
            std::ostream& out;
    
    a tohle me vyhodilo g++ pri kompilaci:
    In file included from body.cpp:9:
    cgen.h:221: error: syntax error before `&' token
    cgen.h: In constructor `cgen::CConv::CConv(std::ostream&, const char*)':
    cgen.h:224: error: class `cgen::CConv' does not have any field named `out'
    body.cpp: At global scope:
    body.cpp:13: error: syntax error before `::' token
    body.cpp:13: error: `int body::operator<(...)' must have an argument of class 
       or enumerated type
    body.cpp:13: error: `int body::operator<(...)' must take exactly two arguments
    body.cpp: In function `int body::operator<(...)':
    body.cpp:14: error: `a' undeclared (first use this function)
    body.cpp:14: error: (Each undeclared identifier is reported only once for each 
       function it appears in.)
    body.cpp:14: error: `b' undeclared (first use this function)
    body.cpp: At global scope:
    body.cpp:21: error: syntax error before `*' token
    body.cpp:23: error: syntax error before `*' token
    body.cpp:23: error: missing ';' before right brace
    body.cpp:28: error: syntax error before `::' token
    body.cpp:30: error: syntax error before `<<' token
    body.cpp:35: error: syntax error before `::' token
    body.cpp:36: error: syntax error before `!=' token
    body.cpp:36: error: syntax error before `++' token
    body.cpp:38: error: syntax error before `->' token
    body.cpp:40: error: syntax error before `.' token
    body.cpp:44: error: syntax error before `->' token
    body.cpp:49: error: syntax error before `::' token
    body.cpp:52: error: syntax error before `->' token
    body.cpp:57: error: syntax error before `*' token
    body.cpp:63: error: syntax error before `->' token
    body.cpp:69: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:69: error: `int exit' redeclared as different kind of symbol
    /usr/include/stdlib.h:640: error: previous declaration of `void exit(int)'
    body.cpp:70: error: syntax error before `}' token
    body.cpp:75: error: syntax error before `::' token
    body.cpp:77: error: syntax error before `*' token
    body.cpp:83: error: syntax error before `::' token
    body.cpp:91: error: syntax error before `->' token
    body.cpp:95: error: syntax error before `->' token
    body.cpp:96: error: ISO C++ forbids declaration of `unlockClients' with no type
    body.cpp:100: error: syntax error before `}' token
    body.cpp:102: error: syntax error before `::' token
    body.cpp:104: error: syntax error before `<<' token
    body.cpp:105: error: syntax error before `->' token
    body.cpp:109: error: syntax error before `<<' token
    body.cpp:115: error: syntax error before `::' token
    body.cpp:119: error: syntax error before `->' token
    body.cpp:120: error: ISO C++ forbids declaration of `unlockClients' with no 
       type
    body.cpp:121: error: syntax error before `}' token
    body.cpp:123: error: syntax error before `::' token
    body.cpp:125: error: syntax error before `<<' token
    body.cpp:126: error: syntax error before `->' token
    body.cpp:131: error: syntax error before `::' token
    body.cpp:135: error: syntax error before `::' token
    body.cpp:139: error: syntax error before `*' token
    body.cpp:140: error: `argExprs' was not declared in this scope
    body.cpp:141: error: syntax error before `if'
    body.cpp:143: error: `Context' was not declared in this scope
    body.cpp:143: error: syntax error before `::' token
    body.cpp:148: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:148: error: redefinition of `int exit'
    body.cpp:69: error: `int exit' previously defined here
    body.cpp:149: error: syntax error before `}' token
    body.cpp:152: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:152: error: redefinition of `int exit'
    body.cpp:148: error: `int exit' previously defined here
    body.cpp:153: error: syntax error before `}' token
    body.cpp:154: error: ISO C++ forbids declaration of `opOverloader' with no type
    body.cpp:154: error: `Overloader' was not declared in this scope
    body.cpp:154: error: syntax error before `)' token
    body.cpp:159: error: ISO C++ forbids declaration of `obj' with no type
    body.cpp:159: error: `c' was not declared in this scope
    body.cpp:159: error: `name' was not declared in this scope
    body.cpp:160: error: syntax error before `if'
    body.cpp:162: error: syntax error before `->' token
    body.cpp:166: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:166: error: redefinition of `int exit'
    body.cpp:152: error: `int exit' previously defined here
    body.cpp:167: error: syntax error before `}' token
    body.cpp:168: error: ISO C++ forbids declaration of `nsOverloader' with no type
    body.cpp:168: error: `Overloader' was not declared in this scope
    body.cpp:168: error: syntax error before `)' token
    body.cpp:171: error: ISO C++ forbids declaration of `result' with no type
    body.cpp:172: error: syntax error before `.' token
    body.cpp:176: error: syntax error before `::' token
    body.cpp:181: error: syntax error before `*' token
    body.cpp:182: error: `argExprs' was not declared in this scope
    body.cpp:182: error: syntax error before `;' token
    body.cpp:182: error: syntax error before `++' token
    body.cpp:188: error: syntax error before `*' token
    body.cpp:191: error: ISO C++ forbids declaration of `unlockClients' with no 
       type
    body.cpp:193: error: syntax error before `}' token
    body.cpp:195: error: syntax error before `::' token
    body.cpp:197: error: syntax error before `<<' token
    body.cpp:198: error: `out' was not declared in this scope
    body.cpp:198: error: `ind' was not declared in this scope
    body.cpp:198: error: ISO C++ forbids declaration of `printind' with no type
    body.cpp:198: error: `int printind' redeclared as different kind of symbol
    body.h:13: error: previous declaration of `void printind(std::ostream&, int)'
    body.cpp:198: error: initializer list being treated as compound expression
    body.cpp:198: error: syntax error before `<<' token
    body.cpp:199: error: syntax error before `->' token
    body.cpp:200: error: `out' was not declared in this scope
    body.cpp:200: error: `ind' was not declared in this scope
    body.cpp:200: error: ISO C++ forbids declaration of `printind' with no type
    body.cpp:200: error: redefinition of `int printind'
    body.cpp:198: error: `int printind' previously defined here
    body.cpp:200: error: initializer list being treated as compound expression
    body.cpp:200: error: syntax error before `<<' token
    body.cpp:201: error: syntax error before `!=' token
    body.cpp:201: error: syntax error before `++' token
    body.cpp:207: error: syntax error before `<<' token
    body.cpp:213: error: syntax error before `::' token
    body.cpp:217: error: syntax error before `::' token
    body.cpp:221: error: ISO C++ forbids declaration of `progress' with no type
    body.cpp:221: error: syntax error before `(' token
    body.cpp:222: error: syntax error before `->' token
    body.cpp:224: error: ISO C++ forbids declaration of `insidec' with no type
    body.cpp:224: error: syntax error before `(' token
    body.cpp:225: error: syntax error before `->' token
    body.cpp:226: error: syntax error before `->' token
    body.cpp:227: error: syntax error before `->' token
    body.cpp:229: error: ISO C++ forbids declaration of `waitingCnt' with no type
    body.cpp:230: error: syntax error before `for'
    body.cpp:230: error: syntax error before `!=' token
    body.cpp:230: error: syntax error before `++' token
    body.cpp:232: error: syntax error before `++' token
    body.cpp:235: error: ISO C++ forbids declaration of `waitingCnt' with no type
    body.cpp:235: error: redefinition of `int waitingCnt'
    body.cpp:229: error: `int waitingCnt' previously defined here
    body.cpp:235: error: `seq' was not declared in this scope
    body.cpp:236: error: syntax error before `}' token
    body.cpp:238: error: syntax error before `::' token
    body.cpp:240: error: syntax error before `!=' token
    body.cpp:240: error: syntax error before `++' token
    body.cpp:243: error: ISO C++ forbids declaration of `firstDeclare' with no type
    body.cpp:244: error: syntax error before `}' token
    body.cpp:249: error: syntax error before `->' token
    body.cpp:255: error: syntax error before `::' token
    body.cpp:257: error: syntax error before `<<' token
    body.cpp:258: error: syntax error before `!=' token
    body.cpp:258: error: syntax error before `++' token
    body.cpp:265: error: syntax error before `::' token
    body.cpp:269: error: syntax error before `::' token
    body.cpp:270: error: syntax error before `<<' token
    body.cpp:271: error: syntax error before `!=' token
    body.cpp:271: error: syntax error before `++' token
    body.cpp:276: error: syntax error before `::' token
    body.cpp:278: error: syntax error before `*' token
    body.cpp:279: error: syntax error before `->' token
    body.cpp:281: error: `Declaration' was not declared in this scope
    body.cpp:281: error: syntax error before `>' token
    body.cpp:283: error: syntax error before `->' token
    body.cpp:284: error: syntax error before `->' token
    body.cpp:286: error: syntax error before `->' token
    body.cpp:288: error: syntax error before `<<' token
    body.cpp:291: error: syntax error before `!=' token
    body.cpp:291: error: syntax error before `++' token
    body.cpp:295: error: syntax error before `<<' token
    body.cpp:301: error: syntax error before `!=' token
    body.cpp:301: error: syntax error before `++' token
    body.cpp:305: error: syntax error before `<<' token
    body.cpp:310: error: syntax error before `*' token
    body.cpp:311: error: syntax error before `->' token
    body.cpp:312: error: syntax error before `->' token
    body.cpp:313: error: syntax error before `.' token
    body.cpp:316: error: syntax error before `<<' token
    body.cpp:323: error: syntax error before `!=' token
    body.cpp:323: error: syntax error before `++' token
    body.cpp:324: error: syntax error before `<<' token
    body.cpp:325: error: syntax error before `->' token
    body.cpp:327: error: syntax error before `<<' token
    body.cpp:330: error: syntax error before `<<' token
    body.cpp:332: error: syntax error before `->' token
    body.cpp:334: error: syntax error before `*' token
    body.cpp:335: error: syntax error before `->' token
    body.cpp:336: error: syntax error before `->' token
    body.cpp:337: error: syntax error before `<<' token
    body.cpp:342: error: syntax error before `*' token
    body.cpp:346: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:346: error: redefinition of `int exit'
    body.cpp:166: error: `int exit' previously defined here
    body.cpp:347: error: syntax error before `return'
    body.cpp:350: error: syntax error before `::' token
    body.cpp:353: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:353: error: redefinition of `int exit'
    body.cpp:346: error: `int exit' previously defined here
    body.cpp:354: error: syntax error before `return'
    body.cpp:357: error: syntax error before `::' token
    body.cpp:359: error: syntax error before `<<' token
    body.cpp:364: error: syntax error before `::' token
    body.cpp:366: error: syntax error before `<<' token
    body.cpp:371: error: syntax error before `*' token
    body.cpp:375: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:375: error: redefinition of `int exit'
    body.cpp:353: error: `int exit' previously defined here
    body.cpp:376: error: syntax error before `}' token
    body.cpp:377: error: syntax error before `*' token
    body.cpp:382: error: syntax error before `*' token
    body.cpp:390: error: syntax error before `::' token
    body.cpp:398: error: syntax error before `::' token
    body.cpp:400: error: syntax error before `<<' token
    body.cpp:405: error: syntax error before `*' token
    body.cpp:408: error: `buf' was not declared in this scope
    body.cpp:409: error: syntax error before `for'
    body.cpp:409: error: ISO C++ forbids declaration of `i' with no type
    body.cpp:409: error: syntax error before `--' token
    body.cpp:415: error: syntax error before `*' token
    body.cpp:417: error: ISO C++ forbids declaration of `caller' with no type
    body.cpp:417: error: `c' was not declared in this scope
    body.cpp:417: error: `val' was not declared in this scope
    body.cpp:418: error: syntax error before `return'
    body.cpp:421: error: syntax error before `::' token
    body.cpp:426: error: syntax error before `::' token
    body.cpp:428: error: syntax error before `<<' token
    body.cpp:429: error: `len' was not declared in this scope
    body.cpp:429: error: syntax error before `;' token
    body.cpp:429: error: syntax error before `++' token
    body.cpp:430: error: syntax error before `<<' token
    body.cpp:435: error: syntax error before `*' token
    body.cpp:439: error: syntax error before `::' token
    body.cpp:441: error: syntax error before `<<' token
    body.cpp:446: error: syntax error before `*' token
    body.cpp:448: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:448: error: redefinition of `int exit'
    body.cpp:375: error: `int exit' previously defined here
    body.cpp:449: error: syntax error before `}' token
    body.cpp:451: error: syntax error before `::' token
    body.cpp:453: error: syntax error before `<<' token
    body.cpp:454: error: syntax error before `->' token
    body.cpp:459: error: syntax error before `*' token
    body.cpp:464: error: syntax error before `*' token
    body.cpp:466: error: syntax error before `=' token
    body.cpp:467: error: ISO C++ forbids declaration of `caller' with no type
    body.cpp:467: error: redefinition of `int caller'
    body.cpp:417: error: `int caller' previously defined here
    body.cpp:467: error: `r' was not declared in this scope
    body.cpp:468: error: syntax error before `return'
    body.cpp:471: error: syntax error before `::' token
    body.cpp:476: error: syntax error before `->' token
    body.cpp:477: error: ISO C++ forbids declaration of `h' with no type
    body.cpp:477: error: `r' was not declared in this scope
    body.cpp:478: error: syntax error before `->' token
    body.cpp:481: error: syntax error before `->' token
    body.cpp:482: error: ISO C++ forbids declaration of `h' with no type
    body.cpp:482: error: redefinition of `int h'
    body.cpp:477: error: `int h' previously defined here
    body.cpp:482: error: `l' was not declared in this scope
    body.cpp:483: error: syntax error before `->' token
    body.cpp:485: error: ISO C++ forbids declaration of `h' with no type
    body.cpp:485: error: redefinition of `int h'
    body.cpp:482: error: `int h' previously defined here
    body.cpp:485: error: base operand of `->' is not a pointer
    body.cpp:486: error: syntax error before `return'
    body.cpp:489: error: syntax error before `::' token
    body.cpp:491: error: syntax error before `<<' token
    body.cpp:492: error: syntax error before `->' token
    body.cpp:493: error: syntax error before `->' token
    body.cpp:498: error: syntax error before `*' token
    body.cpp:500: error: syntax error before `=' token
    body.cpp:501: error: ISO C++ forbids declaration of `caller' with no type
    body.cpp:501: error: redefinition of `int caller'
    body.cpp:467: error: `int caller' previously defined here
    body.cpp:501: error: `r' was not declared in this scope
    body.cpp:502: error: ISO C++ forbids declaration of `caller' with no type
    body.cpp:502: error: redefinition of `int caller'
    body.cpp:501: error: `int caller' previously defined here
    body.cpp:502: error: `c' was not declared in this scope
    body.cpp:503: error: syntax error before `return'
    body.cpp:508: error: syntax error before `*' token
    body.cpp:514: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:514: error: redefinition of `int exit'
    body.cpp:448: error: `int exit' previously defined here
    body.cpp:515: error: syntax error before `}' token
    body.cpp:520: error: syntax error before `*' token
    body.cpp:522: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:522: error: redefinition of `int exit'
    body.cpp:514: error: `int exit' previously defined here
    body.cpp:523: error: syntax error before `}' token
    body.cpp:527: error: syntax error before `*' token
    body.cpp:529: error: syntax error before `*' token
    body.cpp:534: error: ISO C++ forbids declaration of `t' with no type
    body.cpp:534: error: base operand of `->' is not a pointer
    body.cpp:535: error: syntax error before `if'
    body.cpp:545: error: syntax error before `<<' token
    body.cpp:546: error: syntax error before `->' token
    body.cpp:547: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:547: error: redefinition of `int exit'
    body.cpp:522: error: `int exit' previously defined here
    body.cpp:548: error: syntax error before `}' token
    body.cpp:550: error: syntax error before `*' token
    body.cpp:554: error: syntax error before `::' token
    body.cpp:560: error: syntax error before `*' token
    body.cpp:562: error: syntax error before `<<' token
    body.cpp:563: error: syntax error before `->' token
    body.cpp:564: error: syntax error before `*' token
    body.cpp:567: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:567: error: redefinition of `int exit'
    body.cpp:547: error: `int exit' previously defined here
    body.cpp:568: error: syntax error before `}' token
    body.cpp:569: error: syntax error before `<<' token
    body.cpp:573: error: syntax error before `*' token
    body.cpp:577: error: syntax error before `::' token
    body.cpp:583: error: syntax error before `*' token
    body.cpp:589: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:589: error: redefinition of `int exit'
    body.cpp:567: error: `int exit' previously defined here
    body.cpp:590: error: syntax error before `}' token
    body.cpp:595: error: syntax error before `*' token
    body.cpp:597: error: syntax error before `*' token
    body.cpp:600: error: syntax error before `*' token
    body.cpp:602: error: syntax error before `if'
    body.cpp:606: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:606: error: redefinition of `int exit'
    body.cpp:589: error: `int exit' previously defined here
    body.cpp:607: error: syntax error before `}' token
    body.cpp:610: error: syntax error before `<<' token
    body.cpp:611: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:611: error: redefinition of `int exit'
    body.cpp:606: error: `int exit' previously defined here
    body.cpp:612: error: syntax error before `}' token
    body.cpp:616: error: syntax error before `*' token
    body.cpp:622: error: syntax error before `*' token
    body.cpp:626: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:626: error: redefinition of `int exit'
    body.cpp:611: error: `int exit' previously defined here
    body.cpp:627: error: syntax error before `}' token
    body.cpp:631: error: ISO C++ forbids declaration of `caller' with no type
    body.cpp:631: error: redefinition of `int caller'
    body.cpp:502: error: `int caller' previously defined here
    body.cpp:631: error: `fieldVar' was not declared in this scope
    body.cpp:632: error: syntax error before `}' token
    body.cpp:636: error: syntax error before `::' token
    body.cpp:639: error: syntax error before `->' token
    body.cpp:640: error: redefinition of `Handler h'
    body.cpp:485: error: `int h' previously defined here
    body.cpp:640: error: `expr' was not declared in this scope
    body.cpp:641: error: syntax error before `->' token
    body.cpp:642: error: ISO C++ forbids declaration of `h' with no type
    body.cpp:642: error: redefinition of `int h'
    body.cpp:640: error: `Handler h' previously defined here
    body.cpp:642: error: base operand of `->' is not a pointer
    body.cpp:643: error: syntax error before `return'
    body.cpp:646: error: syntax error before `::' token
    body.cpp:647: error: syntax error before `<<' token
    body.cpp:648: error: syntax error before `->' token
    body.cpp:649: error: `out' was not declared in this scope
    body.cpp:649: error: `ind' was not declared in this scope
    body.cpp:649: error: ISO C++ forbids declaration of `printind' with no type
    body.cpp:649: error: redefinition of `int printind'
    body.cpp:200: error: `int printind' previously defined here
    body.cpp:649: error: initializer list being treated as compound expression
    body.cpp:649: error: syntax error before `<<' token
    body.cpp:654: error: syntax error before `::' token
    body.cpp:659: error: syntax error before `*' token
    body.cpp:663: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:663: error: redefinition of `int exit'
    body.cpp:626: error: `int exit' previously defined here
    body.cpp:664: error: syntax error before `}' token
    body.cpp:666: error: syntax error before `*' token
    body.cpp:668: error: conflicting types for `int argcnt'
    body.cpp:140: error: previous declaration as `size_t argcnt'
    body.cpp:668: error: `args' was not declared in this scope
    body.cpp:669: error: syntax error before `for'
    body.cpp:669: error: syntax error before `;' token
    body.cpp:669: error: syntax error before `++' token
    body.cpp:672: error: syntax error before `=' token
    body.cpp:673: error: ISO C++ forbids declaration of `caller' with no type
    body.cpp:673: error: redefinition of `int caller'
    body.cpp:631: error: `int caller' previously defined here
    body.cpp:673: error: `r' was not declared in this scope
    body.cpp:674: error: syntax error before `return'
    body.cpp:678: error: syntax error before `::' token
    body.cpp:681: error: redefinition of `int argcnt'
    body.cpp:668: error: `int argcnt' previously defined here
    body.cpp:681: error: `args' was not declared in this scope
    body.cpp:682: error: syntax error before `if'
    body.cpp:683: error: syntax error before `;' token
    body.cpp:683: error: syntax error before `++' token
    body.cpp:685: error: syntax error before `->' token
    body.cpp:688: error: syntax error before `>=' token
    body.cpp:688: error: syntax error before `--' token
    body.cpp:690: error: syntax error before `->' token
    body.cpp:694: error: ISO C++ forbids declaration of `h' with no type
    body.cpp:694: error: redefinition of `int h'
    body.cpp:642: error: `int h' previously defined here
    body.cpp:694: error: base operand of `->' is not a pointer
    body.cpp:695: error: syntax error before `return'
    body.cpp:698: error: syntax error before `::' token
    body.cpp:699: error: syntax error before `<<' token
    body.cpp:700: error: syntax error before `->' token
    body.cpp:701: error: syntax error before `!=' token
    body.cpp:701: error: syntax error before `++' token
    body.cpp:708: error: syntax error before `::' token
    body.cpp:714: error: syntax error before `::' token
    body.cpp:718: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:718: error: redefinition of `int exit'
    body.cpp:663: error: `int exit' previously defined here
    body.cpp:719: error: syntax error before `}' token
    body.cpp:720: error: syntax error before `->' token
    body.cpp:724: error: syntax error before `::' token
    body.cpp:726: error: syntax error before `<<' token
    body.cpp:727: error: syntax error before `->' token
    body.cpp:732: error: syntax error before `::' token
    body.cpp:736: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:736: error: redefinition of `int exit'
    body.cpp:718: error: `int exit' previously defined here
    body.cpp:737: error: syntax error before `}' token
    body.cpp:738: error: syntax error before `->' token
    body.cpp:741: error: syntax error before `::' token
    body.cpp:743: error: syntax error before `<<' token
    body.cpp:744: error: syntax error before `->' token
    body.cpp:749: error: syntax error before `::' token
    body.cpp:751: error: syntax error before `->' token
    body.cpp:752: error: syntax error before `!=' token
    body.cpp:752: error: syntax error before `++' token
    body.cpp:754: error: syntax error before `->' token
    body.cpp:756: error: syntax error before `->' token
    body.cpp:759: error: syntax error before `::' token
    body.cpp:761: error: syntax error before `<<' token
    body.cpp:762: error: `seq' was not declared in this scope
    body.cpp:762: error: syntax error before `;' token
    body.cpp:762: error: syntax error before `++' token
    body.cpp:769: error: syntax error before `::' token
    body.cpp:771: error: syntax error before `->' token
    body.cpp:772: error: syntax error before `->' token
    body.cpp:773: error: syntax error before `->' token
    body.cpp:774: error: syntax error before `->' token
    body.cpp:777: error: syntax error before `::' token
    body.cpp:779: error: syntax error before `<<' token
    body.cpp:780: error: syntax error before `->' token
    body.cpp:785: error: syntax error before `::' token
    body.cpp:787: error: syntax error before `<<' token
    body.cpp:792: error: syntax error before `::' token
    body.cpp:794: error: syntax error before `<<' token
    body.cpp:795: error: syntax error before `->' token
    body.cpp:800: error: syntax error before `*' token
    body.cpp:804: error: syntax error before `*' token
    body.cpp:808: error: syntax error before `*' token
    body.cpp:812: error: syntax error before `*' token
    body.cpp:814: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:814: error: redefinition of `int exit'
    body.cpp:736: error: `int exit' previously defined here
    body.cpp:815: error: syntax error before `}' token
    body.cpp:817: error: syntax error before `::' token
    body.cpp:819: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:819: error: redefinition of `int exit'
    body.cpp:814: error: `int exit' previously defined here
    body.cpp:820: error: syntax error before `}' token
    body.cpp:824: error: syntax error before `::' token
    body.cpp:825: error: syntax error before `<<' token
    body.cpp:826: error: syntax error before `!=' token
    body.cpp:826: error: syntax error before `++' token
    body.cpp:829: error: syntax error before `<<' token
    body.cpp:834: error: syntax error before `*' token
    body.cpp:838: error: syntax error before `::' token
    body.cpp:839: error: syntax error before `<<' token
    body.cpp:842: error: `Int4Val' was not declared in this scope
    body.cpp:842: error: syntax error before `>' token
    body.cpp:843: error: syntax error before `;' token
    body.cpp:845: error: syntax error before `*' token
    body.cpp:850: error: syntax error before `.' token
    body.cpp:860: error: syntax error before `::' token
    body.cpp:861: error: syntax error before `<<' token
    body.cpp:864: error: `Float4Val' was not declared in this scope
    body.cpp:864: error: syntax error before `>' token
    body.cpp:865: error: syntax error before `;' token
    body.cpp:867: error: syntax error before `*' token
    body.cpp:872: error: syntax error before `.' token
    body.cpp:882: error: syntax error before `::' token
    body.cpp:883: error: syntax error before `<<' token
    body.cpp:886: error: `StrVal' was not declared in this scope
    body.cpp:886: error: syntax error before `>' token
    body.cpp:887: error: syntax error before `;' token
    body.cpp:889: error: syntax error before `*' token
    body.cpp:893: error: syntax error before `.' token
    body.cpp:902: error: syntax error before `*' token
    body.cpp:906: error: syntax error before `*' token
    body.cpp:911: error: syntax error before `::' token
    body.cpp:913: error: syntax error before `<<' token
    body.cpp:918: error: syntax error before `::' token
    body.cpp:920: error: syntax error before `<<' token
    body.cpp:925: error: syntax error before `::' token
    body.cpp:927: error: syntax error before `<<' token
    body.cpp:932: error: syntax error before `*' token
    body.cpp:938: error: syntax error before `*' token
    body.cpp:944: error: syntax error before `::' token
    body.cpp:948: error: syntax error before `::' token
    body.cpp:950: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:950: error: redefinition of `int exit'
    body.cpp:819: error: `int exit' previously defined here
    body.cpp:951: error: syntax error before `}' token
    body.cpp:953: error: syntax error before `::' token
    body.cpp:957: error: syntax error before `::' token
    body.cpp:959: error: syntax error before `<<' token
    body.cpp:962: error: syntax error before `*' token
    body.cpp:963: error: syntax error before `*' token
    body.cpp:969: error: syntax error before `::' token
    body.cpp:973: error: syntax error before `::' token
    body.cpp:977: error: syntax error before `::' token
    body.cpp:981: error: syntax error before `::' token
    body.cpp:983: error: syntax error before `<<' token
    body.cpp:986: error: syntax error before `*' token
    body.cpp:1001: error: syntax error before `*' token
    body.cpp:1007: error: syntax error before `::' token
    body.cpp:1011: error: syntax error before `::' token
    body.cpp:1015: error: syntax error before `::' token
    body.cpp:1019: error: syntax error before `::' token
    body.cpp:1021: error: syntax error before `<<' token
    body.cpp:1025: error: `Type' was not declared in this scope
    body.cpp:1025: error: syntax error before `,' token
    body.cpp:1026: error: syntax error before `;' token
    body.cpp:1028: error: syntax error before `*' token
    body.cpp:1034: error: syntax error before `.' token
    body.cpp:1041: error: syntax error before `::' token
    body.cpp:1045: error: syntax error before `::' token
    body.cpp:1049: error: syntax error before `::' token
    body.cpp:1053: error: syntax error before `*' token
    body.cpp:1057: error: syntax error before `::' token
    body.cpp:1059: error: syntax error before `<<' token
    body.cpp:1060: error: syntax error before `->' token
    body.cpp:1063: error: `Type' was not declared in this scope
    body.cpp:1063: error: syntax error before `,' token
    body.cpp:1064: error: syntax error before `;' token
    body.cpp:1066: error: syntax error before `*' token
    body.cpp:1072: error: syntax error before `.' token
    body.cpp:1079: error: syntax error before `::' token
    body.cpp:1083: error: syntax error before `::' token
    body.cpp:1087: error: syntax error before `::' token
    body.cpp:1091: error: syntax error before `*' token
    body.cpp:1095: error: syntax error before `::' token
    body.cpp:1096: error: syntax error before `<<' token
    body.cpp:1097: error: syntax error before `->' token
    body.cpp:1101: error: syntax error before `*' token
    body.cpp: In function `int operator<(const ArrayTypeInfo&, const 
       ArrayTypeInfo&)':
    body.cpp:1105: error: 'const struct ArrayTypeInfo' has no member named '
       itemType'
    body.cpp:1105: error: 'const struct ArrayTypeInfo' has no member named '
       itemType'
    body.cpp:1105: error: 'const struct ArrayTypeInfo' has no member named '
       itemType'
    body.cpp:1105: error: 'const struct ArrayTypeInfo' has no member named '
       itemType'
    body.cpp: At global scope:
    body.cpp:1107: error: `ArrayType' was not declared in this scope
    body.cpp:1107: error: syntax error before `>' token
    body.cpp:1108: error: syntax error before `;' token
    body.cpp:1110: error: syntax error before `*' token
    body.cpp:1112: error: syntax error before `.' token
    body.cpp:1113: error: syntax error before `.' token
    body.cpp:1114: error: syntax error before `::' token
    body.cpp:1119: error: syntax error before `.' token
    body.cpp:1126: error: syntax error before `::' token
    body.cpp:1130: error: syntax error before `::' token
    body.cpp:1134: error: syntax error before `::' token
    body.cpp:1141: error: syntax error before `*' token
    body.cpp:1150: error: syntax error before `*' token
    body.cpp:1160: error: syntax error before `::' token
    body.cpp:1164: error: syntax error before `::' token
    body.cpp:1166: error: syntax error before `!=' token
    body.cpp:1166: error: syntax error before `++' token
    body.cpp:1171: error: syntax error before `*' token
    body.cpp:1175: error: syntax error before `::' token
    body.cpp:1176: error: syntax error before `<<' token
    body.cpp:1177: error: `out' was not declared in this scope
    body.cpp:1177: error: `ind' was not declared in this scope
    body.cpp:1177: error: ISO C++ forbids declaration of `printind' with no type
    body.cpp:1177: error: redefinition of `int printind'
    body.cpp:649: error: `int printind' previously defined here
    body.cpp:1177: error: initializer list being treated as compound expression
    body.cpp:1177: error: syntax error before `<<' token
    body.cpp:1178: error: syntax error before `->' token
    body.cpp:1179: error: `out' was not declared in this scope
    body.cpp:1179: error: `ind' was not declared in this scope
    body.cpp:1179: error: ISO C++ forbids declaration of `printind' with no type
    body.cpp:1179: error: redefinition of `int printind'
    body.cpp:1177: error: `int printind' previously defined here
    body.cpp:1179: error: initializer list being treated as compound expression
    body.cpp:1179: error: syntax error before `<<' token
    body.cpp:1180: error: syntax error before `!=' token
    body.cpp:1180: error: syntax error before `++' token
    body.cpp:1181: error: syntax error before `<<' token
    body.cpp:1187: error: syntax error before `::' token
    body.cpp:1189: error: syntax error before `!=' token
    body.cpp:1189: error: syntax error before `++' token
    body.cpp:1192: error: syntax error before `+=' token
    body.cpp:1195: error: syntax error before `::' token
    body.cpp:1199: error: syntax error before `::' token
    body.cpp:1203: error: syntax error before `::' token
    body.cpp:1207: error: syntax error before `::' token
    body.cpp:1211: error: syntax error before `::' token
    body.cpp:1212: error: syntax error before `<<' token
    body.cpp:1216: error: syntax error before `*' token
    body.cpp:1217: error: `Type' was not declared in this scope
    body.cpp:1217: error: syntax error before `>' token
    body.cpp: In function `int operator==(const FunctionTypeInfo&, const 
       FunctionTypeInfo&)':
    body.cpp:1221: error: 'const struct FunctionTypeInfo' has no member named '
       result'
    body.cpp:1221: error: 'const struct FunctionTypeInfo' has no member named '
       result'
    body.cpp:1222: error: 'const struct FunctionTypeInfo' has no member named 'args
       '
    body.cpp:1222: error: 'const struct FunctionTypeInfo' has no member named 'args
       '
    body.cpp:1223: error: 'const struct FunctionTypeInfo' has no member named 'args
       '
    body.cpp:1225: error: 'const struct FunctionTypeInfo' has no member named 'args
       '
    body.cpp:1225: error: 'const struct FunctionTypeInfo' has no member named 'args
       '
    body.cpp: In function `int operator<(const FunctionTypeInfo&, const 
       FunctionTypeInfo&)':
    body.cpp:1231: error: 'const struct FunctionTypeInfo' has no member named '
       result'
    body.cpp:1231: error: 'const struct FunctionTypeInfo' has no member named '
       result'
    body.cpp:1231: error: 'const struct FunctionTypeInfo' has no member named '
       result'
    body.cpp:1231: error: 'const struct FunctionTypeInfo' has no member named '
       result'
    body.cpp:1232: error: 'const struct FunctionTypeInfo' has no member named 'args
       '
    body.cpp:1232: error: 'const struct FunctionTypeInfo' has no member named 'args
       '
    body.cpp:1232: error: 'const struct FunctionTypeInfo' has no member named 'args
       '
    body.cpp:1232: error: 'const struct FunctionTypeInfo' has no member named 'args
       '
    body.cpp:1233: error: 'const struct FunctionTypeInfo' has no member named 'args
       '
    body.cpp:1235: error: 'const struct FunctionTypeInfo' has no member named 'args
       '
    body.cpp:1235: error: 'const struct FunctionTypeInfo' has no member named 'args
       '
    body.cpp:1235: error: 'const struct FunctionTypeInfo' has no member named 'args
       '
    body.cpp:1235: error: 'const struct FunctionTypeInfo' has no member named 'args
       '
    body.cpp: At global scope:
    body.cpp:1240: error: `FunctionType' was not declared in this scope
    body.cpp:1240: error: syntax error before `>' token
    body.cpp:1241: error: syntax error before `;' token
    body.cpp:1243: error: syntax error before `*' token
    body.cpp:1245: error: syntax error before `.' token
    body.cpp:1246: error: syntax error before `.' token
    body.cpp:1248: error: syntax error before `::' token
    body.cpp:1253: error: syntax error before `*' token
    body.cpp:1254: error: syntax error before `.' token
    body.cpp:1261: error: syntax error before `*' token
    body.cpp:1264: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:1264: error: redefinition of `int exit'
    body.cpp:950: error: `int exit' previously defined here
    body.cpp:1265: error: syntax error before `}' token
    body.cpp:1269: error: syntax error before `::' token
    body.cpp:1271: error: syntax error before `.' token
    body.cpp:1272: error: syntax error before `.' token
    body.cpp:1276: error: syntax error before `::' token
    body.cpp:1277: error: syntax error before `<<' token
    body.cpp:1278: error: `out' was not declared in this scope
    body.cpp:1278: error: `ind' was not declared in this scope
    body.cpp:1278: error: ISO C++ forbids declaration of `printind' with no type
    body.cpp:1278: error: redefinition of `int printind'
    body.cpp:1179: error: `int printind' previously defined here
    body.cpp:1278: error: initializer list being treated as compound expression
    body.cpp:1278: error: syntax error before `<<' token
    body.cpp:1279: error: syntax error before `->' token
    body.cpp:1284: error: syntax error before `::' token
    body.cpp:1293: error: syntax error before `->' token
    body.cpp:1294: error: syntax error before `->' token
    body.cpp:1296: error: ISO C++ forbids declaration of `factory' with no type
    body.cpp:1296: error: `c' was not declared in this scope
    body.cpp:1296: error: `internalName' was not declared in this scope
    body.cpp:1296: error: base operand of `->' is not a pointer
    body.cpp:1297: error: syntax error before `}' token
    body.cpp:1299: error: syntax error before `::' token
    body.cpp:1302: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:1302: error: redefinition of `int exit'
    body.cpp:1264: error: `int exit' previously defined here
    body.cpp:1303: error: syntax error before `}' token
    body.cpp:1304: error: syntax error before `->' token
    body.cpp:1307: error: syntax error before `::' token
    body.cpp:1308: error: syntax error before `<<' token
    body.cpp:1309: error: `out' was not declared in this scope
    body.cpp:1309: error: `ind' was not declared in this scope
    body.cpp:1309: error: ISO C++ forbids declaration of `printind' with no type
    body.cpp:1309: error: redefinition of `int printind'
    body.cpp:1278: error: `int printind' previously defined here
    body.cpp:1309: error: initializer list being treated as compound expression
    body.cpp:1309: error: syntax error before `<<' token
    body.cpp:1310: error: syntax error before `->' token
    body.cpp:1311: error: `out' was not declared in this scope
    body.cpp:1311: error: `ind' was not declared in this scope
    body.cpp:1311: error: ISO C++ forbids declaration of `printind' with no type
    body.cpp:1311: error: redefinition of `int printind'
    body.cpp:1309: error: `int printind' previously defined here
    body.cpp:1311: error: initializer list being treated as compound expression
    body.cpp:1311: error: syntax error before `<<' token
    body.cpp:1315: error: syntax error before `<<' token
    body.cpp:1321: error: syntax error before `*' token
    body.cpp:1326: error: syntax error before `!=' token
    body.cpp:1326: error: syntax error before `++' token
    body.cpp:1330: error: syntax error before `for'
    body.cpp:1330: error: syntax error before `;' token
    body.cpp:1330: error: syntax error before `++' token
    body.cpp:1338: error: syntax error before `*' token
    body.cpp:1339: error: syntax error before `;' token
    body.cpp:1339: error: syntax error before `++' token
    body.cpp:1342: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:1342: error: redefinition of `int exit'
    body.cpp:1302: error: `int exit' previously defined here
    body.cpp:1343: error: syntax error before `}' token
    body.cpp:1345: error: syntax error before `*' token
    body.cpp:1348: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:1348: error: redefinition of `int exit'
    body.cpp:1342: error: `int exit' previously defined here
    body.cpp:1349: error: syntax error before `}' token
    body.cpp:1353: error: syntax error before `::' token
    body.cpp:1354: error: syntax error before `;' token
    body.cpp:1354: error: syntax error before `++' token
    body.cpp:1357: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:1357: error: redefinition of `int exit'
    body.cpp:1348: error: `int exit' previously defined here
    body.cpp:1358: error: syntax error before `}' token
    body.cpp:1361: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:1361: error: redefinition of `int exit'
    body.cpp:1357: error: `int exit' previously defined here
    body.cpp:1362: error: syntax error before `}' token
    body.cpp:1364: error: syntax error before `*' token
    body.cpp:1367: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:1367: error: redefinition of `int exit'
    body.cpp:1361: error: `int exit' previously defined here
    body.cpp:1368: error: syntax error before `}' token
    body.cpp:1372: error: syntax error before `::' token
    body.cpp:1373: error: syntax error before `<<' token
    body.cpp:1374: error: `defs' was not declared in this scope
    body.cpp:1374: error: syntax error before `;' token
    body.cpp:1374: error: syntax error before `++' token
    body.cpp:1381: error: syntax error before `*' token
    body.cpp:1394: error: syntax error before `*' token
    body.cpp:1403: error: syntax error before `::' token
    body.cpp:1408: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:1408: error: redefinition of `int exit'
    body.cpp:1367: error: `int exit' previously defined here
    body.cpp:1409: error: syntax error before `}' token
    body.cpp:1410: error: syntax error before `.' token
    body.cpp:1413: error: syntax error before `*' token
    body.cpp:1417: error: ISO C++ forbids declaration of `exit' with no type
    body.cpp:1417: error: redefinition of `int exit'
    body.cpp:1408: error: `int exit' previously defined here
    body.cpp:1418: error: syntax error before `}' token
    body.cpp:1419: error: syntax error before `*' token
    body.cpp:1420: error: syntax error before `->' token
    body.cpp:1424: error: syntax error before `::' token
    body.cpp:1425: error: syntax error before `<<' token
    body.cpp:1426: error: syntax error before `!=' token
    body.cpp:1426: error: syntax error before `++' token
    body.cpp:1427: error: syntax error before `<<' token
    body.cpp:1428: error: syntax error before `->' token
    body.cpp:1434: error: syntax error before `*' token
    body.cpp:1437: error: syntax error before `*' token
    body.cpp:1440: error: syntax error before `*' token
    body.cpp:1443: error: syntax error before `*' token
    body.cpp:1446: error: syntax error before `*' token
    body.cpp:1450: error: syntax error before `*' token
    body.cpp:1452: error: syntax error before `*' token
    body.cpp:1453: error: syntax error before `*' token
    body.cpp:1454: error: syntax error before `*' token
    body.cpp:1456: error: syntax error before `*' token
    body.cpp:1457: error: syntax error before `*' token
    body.cpp:1458: error: syntax error before `*' token
    body.cpp:1459: error: syntax error before `*' token
    body.cpp:1461: error: syntax error before `*' token
    body.cpp:1462: error: syntax error before `*' token
    body.cpp:1464: error: syntax error before `*' token
    body.cpp:1466: error: syntax error before `->' token
    body.cpp:1468: error: syntax error before `->' token
    body.cpp:1469: error: syntax error before `->' token
    body.cpp:1471: error: syntax error before `->' token
    body.cpp:1472: error: syntax error before `->' token
    body.cpp:1473: error: syntax error before `->' token
    body.cpp:1474: error: syntax error before `->' token
    body.cpp:1475: error: syntax error before `->' token
    body.cpp:1477: error: syntax error before `->' token
    body.cpp:1478: error: syntax error before `->' token
    body.cpp:1479: error: syntax error before `->' token
    body.cpp:1480: error: syntax error before `->' token
    body.cpp:1481: error: syntax error before `->' token
    body.cpp:1483: error: syntax error before `->' token
    body.cpp:1484: error: syntax error before `->' token
    body.cpp:1485: error: syntax error before `->' token
    body.cpp:1487: error: syntax error before `->' token
    body.cpp:1488: error: syntax error before `->' token
    body.cpp:1489: error: syntax error before `->' token
    body.cpp:1490: error: syntax error before `->' token
    body.cpp:1492: error: `Type' was not declared in this scope
    body.cpp:1492: error: syntax error before `>' token
    body.cpp:1494: error: syntax error before `*' token
    body.cpp:1496: error: syntax error before `*' token
    body.cpp:1498: error: ISO C++ forbids declaration of `ovr' with no type
    body.cpp:1498: error: syntax error before `(' token
    body.cpp:1499: error: syntax error before `->' token
    body.cpp:1500: error: syntax error before `->' token
    body.cpp:1502: error: ISO C++ forbids declaration of `ovr' with no type
    body.cpp:1502: error: redefinition of `int ovr'
    body.cpp:1498: error: `int ovr' previously declared here
    body.cpp:1502: error: syntax error before `(' token
    body.cpp:1503: error: syntax error before `->' token
    body.cpp:1504: error: syntax error before `->' token
    body.cpp:1506: error: ISO C++ forbids declaration of `ovr' with no type
    body.cpp:1506: error: redefinition of `int ovr'
    body.cpp:1502: error: `int ovr' previously declared here
    body.cpp:1506: error: syntax error before `(' token
    body.cpp:1507: error: syntax error before `->' token
    body.cpp:1508: error: syntax error before `->' token
    body.cpp:1510: error: ISO C++ forbids declaration of `ovr' with no type
    body.cpp:1510: error: redefinition of `int ovr'
    body.cpp:1506: error: `int ovr' previously declared here
    body.cpp:1510: error: syntax error before `(' token
    body.cpp:1511: error: syntax error before `->' token
    body.cpp:1512: error: syntax error before `->' token
    body.cpp:1514: error: ISO C++ forbids declaration of `ovr' with no type
    body.cpp:1514: error: redefinition of `int ovr'
    body.cpp:1510: error: `int ovr' previously declared here
    body.cpp:1514: error: syntax error before `(' token
    body.cpp:1515: error: syntax error before `->' token
    body.cpp:1516: error: syntax error before `->' token
    body.cpp:1518: error: syntax error before `->' token
    body.cpp:1520: error: syntax error before `->' token
    body.cpp:1521: error: syntax error before `->' token
    body.cpp:1522: error: syntax error before `->' token
    body.cpp:1523: error: syntax error before `->' token
    body.cpp:1524: error: syntax error before `->' token
    body.cpp:1525: error: syntax error before `->' token
    body.cpp:1526: error: syntax error before `->' token
    body.cpp:1528: error: syntax error before `->' token
    body.cpp:1529: error: syntax error before `->' token
    make: *** [body.o] Error 1
    
    Nastesti se chyba dala najit hned podle prvniho chybovyho hlaseni, ale tyhle vypisy me opravdu fascinujou :-)

           

    Hodnocení: 78 %

            špatnédobré        

    Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

    Komentáře

    Vložit další komentář

    21.7.2006 10:50 Michal Kubeček | skóre: 72 | Luštěnice
    Rozbalit Rozbalit vše Re: Miluju g++
    To si holt člověk musí vybrat. Buď se zobrazí jen první chyba a když jsou tam čtyři, je potřeba na ně přicházet jednu po druhé, nebo se provede nějaký failover a pak to občas dopadne takhle. Některé překladače volí jednu možnost, některé druhou.
    msk avatar 21.7.2006 10:57 msk | skóre: 27 | blog: msk
    Rozbalit Rozbalit vše Re: Miluju g++
    Niekto mi svojho casu spominal nejaky switch pre gcc, ktory humanizuje hlasky pochadzajuce z chybnej syntaxe pri praci s stl. Ked tak by ma niekto mohol doplnit a autor blogu by ho mohol vyskusat a dat vediet vysledok :o)
    elviin avatar 21.7.2006 12:20 elviin | skóre: 29 | blog: elviin | Plzeň-Praha
    Rozbalit Rozbalit vše Re: Miluju g++
    -D _GLIBCXX_CONCEPT_CHECKS
    21.7.2006 11:14 machr | skóre: 2 | blog: machr
    Rozbalit Rozbalit vše Re: Miluju g++
    jo, to je pravda, ale tohle by urcite slo vyresit nejak lip. Treba preskocit vse az do nejblizsiho stredniku a cely prikaz ignorovat. Potom by to zahlasilo chyby jen tam, kde je pouzita promenna out.
    (__) (oo) /-------\/ / | || * ||----|| ~~ ~~
    Jan Zahornadsky avatar 21.7.2006 19:23 Jan Zahornadsky | skóre: 22 | blog: hans_blog
    Rozbalit Rozbalit vše Re: Miluju g++
    Vždyť to tak řešené je... Aspoň teda z běžného prolétnutí výstupu zrakem.
    Actually, I was half an hour into the pointer scripting documentation when she got dressed and left.
    21.7.2006 22:35 machr | skóre: 2 | blog: machr
    Rozbalit Rozbalit vše Re: Miluju g++
    ja bych rek, ze neni. Ta pomenna je soucasti jednoho malyho objektu a NIKDE se tam nepouziva (presneji receno nikde v souboru body.cpp, kterej jsem prave kompiloval, a ani v zadnym hlavickovym souboru. Takze kdyby to tak fungovalo, tak by to melo nahlasit jen tu prvni chybu. ;-)
    (__) (oo) /-------\/ / | || * ||----|| ~~ ~~
    21.7.2006 11:46 zde | skóre: 9 | blog: Linuch | Brno
    Rozbalit Rozbalit vše g++ saje
    Copak 'stream' není subclass 'ostream'-u? Proč to vůbec hlásilo chybu? A proč když už chyba, tak 'syntax error' místo 'incompatible type'?
    Táto, ty de byl? V práci, já debil.
    21.7.2006 12:18 Michal Kubeček | skóre: 72 | Luštěnice
    Rozbalit Rozbalit vše Re: g++ saje
    Žádný std::stream ve standardní knihovně není. Máte std::istream (stream, ze kterého lze číst) a std::ostream (stream, do kterého lze zapisovat). Pak samozřejmě ještě řadu dalších typů, které jsou odvozeny od jednoho, od druhého nebo od obou. Pokud byste chtěl společný základ, tak tím je std::ios.
    26.7.2006 11:11 zde | skóre: 9 | blog: Linuch | Brno
    Rozbalit Rozbalit vše Re: g++ saje
    Aha, spletl jsem si 'stream' s 'iostream', tak se tuším ten obskurní potomkem násobné dědičnosti istreamu a ostreamu jmenuje.
    Táto, ty de byl? V práci, já debil.
    21.7.2006 11:52 svatekr | skóre: 18 | blog: Svatekr | Teplice
    Rozbalit Rozbalit vše Re: Miluju g++
    To buďte rád, že to vyhodilo chybové hlášení. Četl jsem o (pravděpodobně) nejdražší chybě. Programátor napsal 1.3 místo 1:3. Nevím v jakém jazyku, ale operace, která se měla provést 3x se provedla (nebo spíš neprovedla, protože je to nesmysl) 1.3x.

    Bohužel šlo o startovací sekvenci rakety, která tímto hned po startu žuchnula k zemi.
    Každé zbytečně vyřčené slovo je vyřčeno zbytečně.
    Luk avatar 21.7.2006 12:03 Luk | skóre: 47 | blog: Kacířské myšlenky | Kutná Hora
    Rozbalit Rozbalit vše Re: Miluju g++
    Mám dojem, že to bylo ve Fortranu, a že to nebyla dvojtečka, nýbrž čárka. Ale jistý si nejsem a je to navíc jedno :-D
    Šifrování je absolutní nutnost a pomáhá chránit před nekalými živly
    21.7.2006 12:46 Kyosuke | skóre: 28 | blog: nalady_v_modre
    Rozbalit Rozbalit vše Re: Miluju g++
    Ve Fortranu to možná bylo, ale nebylo to ani tečkou, ani čárkou, ani dvojtečkou, ale byla to programátorem špatně přepsaná funkce ze vzorce poskytnutého matematikem a dotyčná mise byl Mariner 1. :-)
    21.7.2006 13:03 Käyttäjä 11133 | skóre: 58 | blog: Ajattelee menneisyyttä
    Rozbalit Rozbalit vše Re: Miluju g++
    http://en.wikipedia.org/wiki/Mariner_1
    21.7.2006 12:36 D-Evil | skóre: 25 | Praha
    Rozbalit Rozbalit vše Re: Miluju g++
    To bylo nedávno v KLDR ne? :-)
    21.7.2006 12:41 Michal Kubeček | skóre: 72 | Luštěnice
    Rozbalit Rozbalit vše Re: Miluju g++
    Ne, šlo údajně o vesmírnou sondu NASA. Podle všeho jsou ale v této historce namíchány fragmenty několika různých skutečných příběhů.
    21.7.2006 12:44 D-Evil | skóre: 25 | Praha
    Rozbalit Rozbalit vše Re: Miluju g++
    Aby vytvořily jeden neskutečnej :-)
    21.7.2006 12:48 Michal Kubeček | skóre: 72 | Luštěnice
    Rozbalit Rozbalit vše Re: Miluju g++
    Tak nějak. Vypadá to, že NASA skutečně o jednu sondu přišla v důsledku překlepu v programu a že skutečně jednou někdo napsal ve Fortranu něco jako 'DO 3 I=1.5' místo 'DO 3 I=1,5' (jednotlivé zdroje už se ale liší ohledně konkrétních hodnot). Ale nejspíš se to takhle neseběhlo všechno najednou…
    21.7.2006 13:09 Kyosuke | skóre: 28 | blog: nalady_v_modre
    Rozbalit Rozbalit vše Re: Miluju g++
    „Google doporučuje“™: :-D http://www.cs.unc.edu/~pozefsky/BugsMariner1.ppt

    Snad to OtevřenáKancelář.neziskovka zvládne... :-D
    bazil avatar 21.7.2006 14:55 bazil | skóre: 33 | blog: sluje | Miroslav
    Rozbalit Rozbalit vše Re: Miluju g++
    já bych se asi šel oběsit :-)
    21.7.2006 22:49 Martin | skóre: 10 | blog: Nádraží Perdido
    Rozbalit Rozbalit vše Re: Miluju g++
    To je humus. Hází g++ takový chybový hlášky často? A má to nějaký racionální důvod (pomoc programátorovi při ladění to zřejmě nebude :o))?
    22.7.2006 00:00 machr | skóre: 2 | blog: machr
    Rozbalit Rozbalit vše Re: Miluju g++
    Obcas, a vetsinou kvuli podobne stupidni chybe :-D Ale da se na to zvyknout, proste opravis prvni nalezenou chybu a ostatni se "opravi samy..." :-)

    Duvod asi bude nedokonale zotaveni po chybe. Ale nepovazuju to za velkej problem a ve zbytku prekladu si g++ vede velmi dobre. Kdysi jsem cvhili programoval v C++ Builderu, kde jsou chybovy hlaseni sice lepsi, ale ten kod, co to generovalo... :-( obcas to dopadlo tak, ze sem musel pouzivat jen globalni promenny, protoze jakoukoli lokalni promennou me kompilator zrusil jeste pred jejim pouzitim...
    (__) (oo) /-------\/ / | || * ||----|| ~~ ~~
    22.7.2006 00:27 Michal Kubeček | skóre: 72 | Luštěnice
    Rozbalit Rozbalit vše Re: Miluju g++
    Pořád je tu možnost použít '-Wfatal-errors', pak by měl překladač skončit první chybou.
    David Watzke avatar 22.7.2006 03:09 David Watzke | skóre: 74 | blog: Blog... | Praha
    Rozbalit Rozbalit vše Re: Miluju g++
    A pro masochisty -Wall :-D Ale nevěřím, že by to mohlo být ještě horší ;-)
    “Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon
    22.7.2006 11:19 Michal Kubeček | skóre: 72 | Luštěnice
    Rozbalit Rozbalit vše Re: Miluju g++
    Své programy překládám zásadně s -Wall a nemám s tím žádný problém.
    David Watzke avatar 22.7.2006 11:39 David Watzke | skóre: 74 | blog: Blog... | Praha
    Rozbalit Rozbalit vše Re: Miluju g++
    Já ty svoje taky, jestli se těm hello-worldům dá říkat programy :-), ale měl jsem na mysli tento případ. To by bylo počteníčko :-)
    “Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon
    Heron avatar 22.7.2006 11:52 Heron | skóre: 53 | blog: root_at_heron | Olomouc
    Rozbalit Rozbalit vše Re: Miluju g++
    Taktéž překládám s -Wall a -ansi. Má to tu výhodu, že svoje prográmky pak přeložím i na jiných platformách, stačí překladač dodržující ANSI C normu. Pochopitelně to nejde dodržet u všech projektů, ale pokud člověk dodržuje jistou hygienu psaní, zbaví se půlky problémů.
    22.7.2006 16:05 Michal Kubeček | skóre: 72 | Luštěnice
    Rozbalit Rozbalit vše Re: Miluju g++
    Co se týká těch zavlečených chyb, jak už jsem napsal, ty řeší '-Wfatal-errors', pak se zobrazí jen první chyba a další už ne.

    Založit nové vláknoNahoru

    ISSN 1214-1267   www.czech-server.cz
    © 1999-2015 Nitemedia s. r. o. Všechna práva vyhrazena.