{"id":22,"date":"2008-07-27T02:11:31","date_gmt":"2008-07-27T02:11:31","guid":{"rendered":"https:\/\/blog.oscarc.net\/?p=22"},"modified":"2018-01-28T06:43:06","modified_gmt":"2018-01-28T06:43:06","slug":"c-compiler-errors-for-real","status":"publish","type":"post","link":"https:\/\/blog.oscarc.net\/index.php\/2008\/07\/27\/c-compiler-errors-for-real\/","title":{"rendered":"C Compiler Errors (For Real)"},"content":{"rendered":"<pre>From: tjc@castle.edinburgh.ac.uk (A J Cunningham)<\/pre>\n<p>These are some of the error messages produced by Apple&#8217;s MPW C compiler. These are all real. (If you must know I was bored one afternoon and decompiled the String resources for the compiler.) The compiler is 324k in size so these are just an excerpt I hope. I&#8217;m not sure where I stand on the copyright issue.<\/p>\n<p>Tony Cunningham<\/p>\n<p>&#8220;String literal too long (I let you have 512 characters, that&#8217;s 3 more than ANSI said I should)&#8221;<\/p>\n<p>&#8220;&#8230;And the lord said, &#8216;lo, there shall only be case or default labels inside a switch statement'&#8221;<\/p>\n<p>&#8220;a typedef name was a complete surprise to me at this point in your program&#8221;<\/p>\n<p>&#8220;&#8216;Volatile&#8217; and &#8216;Register&#8217; are not miscible&#8221;<\/p>\n<p>&#8220;You can&#8217;t modify a constant, float upstream, win an argument with the IRS, or satisfy this compiler&#8221;<\/p>\n<p>&#8220;This struct already has a perfectly good definition&#8221;<\/p>\n<p>&#8220;type in (cast) must be scalar; ANSI 3.3.4; page 39, lines 10-11 (I know you don&#8217;t care, I&#8217;m just trying to annoy you)&#8221;<\/p>\n<p>&#8220;Can&#8217;t cast a void type to type void (because the ANSI spec. says so, that&#8217;s why)&#8221;<\/p>\n<p>&#8220;Huh ?&#8221;<\/p>\n<p>&#8220;can&#8217;t go mucking with a &#8216;void *'&#8221;<\/p>\n<p>&#8220;we already did this function&#8221;<\/p>\n<p>&#8220;This label is the target of a goto from outside of the block containing this label AND this block has an automatic variable with an initializer AND your window wasn&#8217;t wide enough to read this whole error message&#8221;<\/p>\n<p>&#8220;Call me paranoid but finding &#8216;\/*&#8217; inside this comment makes me suspicious&#8221;<\/p>\n<p>&#8220;Too many errors on one line (make fewer)&#8221;<\/p>\n<p>&#8220;Symbol table full &#8211; fatal heap error; please go buy a RAM upgrade from your local Apple dealer&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From: tjc@castle.edinburgh.ac.uk (A J Cunningham) These are some of the error messages produced by Apple&#8217;s MPW C compiler. These are all real. (If you must know I was bored one afternoon and decompiled the String resources for the compiler.) The compiler is 324k in size so these are just an excerpt I hope. I&#8217;m not &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.oscarc.net\/index.php\/2008\/07\/27\/c-compiler-errors-for-real\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;C Compiler Errors (For Real)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-22","post","type-post","status-publish","format-standard","hentry","category-humor"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"OscarC\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/blog.oscarc.net\/index.php\/2008\/07\/27\/c-compiler-errors-for-real\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"OscarC\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"C Compiler Errors (For Real) | OscarC Blog\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/blog.oscarc.net\/index.php\/2008\/07\/27\/c-compiler-errors-for-real\/\" \/>\n\t\t<meta property=\"fb:admins\" content=\"721342744\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@ocwajbaum\" \/>\n\t\t<meta name=\"twitter:title\" content=\"C Compiler Errors (For Real) | OscarC Blog\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/2008\\\/07\\\/27\\\/c-compiler-errors-for-real\\\/#article\",\"name\":\"C Compiler Errors (For Real) | OscarC Blog\",\"headline\":\"C Compiler Errors (For Real)\",\"author\":{\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/author\\\/blogadmin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/2008\\\/07\\\/27\\\/c-compiler-errors-for-real\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/122730a0d080278c0d0a88aa922a483850f924296805f8325709db22e0187e20?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"OscarC\"},\"datePublished\":\"2008-07-27T02:11:31+00:00\",\"dateModified\":\"2018-01-28T06:43:06+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/2008\\\/07\\\/27\\\/c-compiler-errors-for-real\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/2008\\\/07\\\/27\\\/c-compiler-errors-for-real\\\/#webpage\"},\"articleSection\":\"Humor\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/2008\\\/07\\\/27\\\/c-compiler-errors-for-real\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.oscarc.net#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blog.oscarc.net\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/category\\\/humor\\\/#listItem\",\"name\":\"Humor\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/category\\\/humor\\\/#listItem\",\"position\":2,\"name\":\"Humor\",\"item\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/category\\\/humor\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/2008\\\/07\\\/27\\\/c-compiler-errors-for-real\\\/#listItem\",\"name\":\"C Compiler Errors (For Real)\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.oscarc.net#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/2008\\\/07\\\/27\\\/c-compiler-errors-for-real\\\/#listItem\",\"position\":3,\"name\":\"C Compiler Errors (For Real)\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/category\\\/humor\\\/#listItem\",\"name\":\"Humor\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/#person\",\"name\":\"OscarC\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/2008\\\/07\\\/27\\\/c-compiler-errors-for-real\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/122730a0d080278c0d0a88aa922a483850f924296805f8325709db22e0187e20?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"OscarC\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/author\\\/blogadmin\\\/#author\",\"url\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/author\\\/blogadmin\\\/\",\"name\":\"OscarC\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/2008\\\/07\\\/27\\\/c-compiler-errors-for-real\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/122730a0d080278c0d0a88aa922a483850f924296805f8325709db22e0187e20?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"OscarC\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/2008\\\/07\\\/27\\\/c-compiler-errors-for-real\\\/#webpage\",\"url\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/2008\\\/07\\\/27\\\/c-compiler-errors-for-real\\\/\",\"name\":\"C Compiler Errors (For Real) | OscarC Blog\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/2008\\\/07\\\/27\\\/c-compiler-errors-for-real\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/author\\\/blogadmin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/index.php\\\/author\\\/blogadmin\\\/#author\"},\"datePublished\":\"2008-07-27T02:11:31+00:00\",\"dateModified\":\"2018-01-28T06:43:06+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/#website\",\"url\":\"https:\\\/\\\/blog.oscarc.net\\\/\",\"name\":\"OscarC Blog\",\"description\":\"I sometimes take photos\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/blog.oscarc.net\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"C Compiler Errors (For Real) | OscarC Blog","description":"","canonical_url":"https:\/\/blog.oscarc.net\/index.php\/2008\/07\/27\/c-compiler-errors-for-real\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.oscarc.net\/index.php\/2008\/07\/27\/c-compiler-errors-for-real\/#article","name":"C Compiler Errors (For Real) | OscarC Blog","headline":"C Compiler Errors (For Real)","author":{"@id":"https:\/\/blog.oscarc.net\/index.php\/author\/blogadmin\/#author"},"publisher":{"@id":"https:\/\/blog.oscarc.net\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/blog.oscarc.net\/index.php\/2008\/07\/27\/c-compiler-errors-for-real\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/122730a0d080278c0d0a88aa922a483850f924296805f8325709db22e0187e20?s=96&d=mm&r=g","width":96,"height":96,"caption":"OscarC"},"datePublished":"2008-07-27T02:11:31+00:00","dateModified":"2018-01-28T06:43:06+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/blog.oscarc.net\/index.php\/2008\/07\/27\/c-compiler-errors-for-real\/#webpage"},"isPartOf":{"@id":"https:\/\/blog.oscarc.net\/index.php\/2008\/07\/27\/c-compiler-errors-for-real\/#webpage"},"articleSection":"Humor"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.oscarc.net\/index.php\/2008\/07\/27\/c-compiler-errors-for-real\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/blog.oscarc.net#listItem","position":1,"name":"Home","item":"https:\/\/blog.oscarc.net","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.oscarc.net\/index.php\/category\/humor\/#listItem","name":"Humor"}},{"@type":"ListItem","@id":"https:\/\/blog.oscarc.net\/index.php\/category\/humor\/#listItem","position":2,"name":"Humor","item":"https:\/\/blog.oscarc.net\/index.php\/category\/humor\/","nextItem":{"@type":"ListItem","@id":"https:\/\/blog.oscarc.net\/index.php\/2008\/07\/27\/c-compiler-errors-for-real\/#listItem","name":"C Compiler Errors (For Real)"},"previousItem":{"@type":"ListItem","@id":"https:\/\/blog.oscarc.net#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/blog.oscarc.net\/index.php\/2008\/07\/27\/c-compiler-errors-for-real\/#listItem","position":3,"name":"C Compiler Errors (For Real)","previousItem":{"@type":"ListItem","@id":"https:\/\/blog.oscarc.net\/index.php\/category\/humor\/#listItem","name":"Humor"}}]},{"@type":"Person","@id":"https:\/\/blog.oscarc.net\/#person","name":"OscarC","image":{"@type":"ImageObject","@id":"https:\/\/blog.oscarc.net\/index.php\/2008\/07\/27\/c-compiler-errors-for-real\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/122730a0d080278c0d0a88aa922a483850f924296805f8325709db22e0187e20?s=96&d=mm&r=g","width":96,"height":96,"caption":"OscarC"}},{"@type":"Person","@id":"https:\/\/blog.oscarc.net\/index.php\/author\/blogadmin\/#author","url":"https:\/\/blog.oscarc.net\/index.php\/author\/blogadmin\/","name":"OscarC","image":{"@type":"ImageObject","@id":"https:\/\/blog.oscarc.net\/index.php\/2008\/07\/27\/c-compiler-errors-for-real\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/122730a0d080278c0d0a88aa922a483850f924296805f8325709db22e0187e20?s=96&d=mm&r=g","width":96,"height":96,"caption":"OscarC"}},{"@type":"WebPage","@id":"https:\/\/blog.oscarc.net\/index.php\/2008\/07\/27\/c-compiler-errors-for-real\/#webpage","url":"https:\/\/blog.oscarc.net\/index.php\/2008\/07\/27\/c-compiler-errors-for-real\/","name":"C Compiler Errors (For Real) | OscarC Blog","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/blog.oscarc.net\/#website"},"breadcrumb":{"@id":"https:\/\/blog.oscarc.net\/index.php\/2008\/07\/27\/c-compiler-errors-for-real\/#breadcrumblist"},"author":{"@id":"https:\/\/blog.oscarc.net\/index.php\/author\/blogadmin\/#author"},"creator":{"@id":"https:\/\/blog.oscarc.net\/index.php\/author\/blogadmin\/#author"},"datePublished":"2008-07-27T02:11:31+00:00","dateModified":"2018-01-28T06:43:06+00:00"},{"@type":"WebSite","@id":"https:\/\/blog.oscarc.net\/#website","url":"https:\/\/blog.oscarc.net\/","name":"OscarC Blog","description":"I sometimes take photos","inLanguage":"en-US","publisher":{"@id":"https:\/\/blog.oscarc.net\/#person"}}]},"og:locale":"en_US","og:site_name":"OscarC","og:type":"blog","og:title":"C Compiler Errors (For Real) | OscarC Blog","og:url":"https:\/\/blog.oscarc.net\/index.php\/2008\/07\/27\/c-compiler-errors-for-real\/","fb:admins":"721342744","twitter:card":"summary","twitter:site":"@ocwajbaum","twitter:title":"C Compiler Errors (For Real) | OscarC Blog"},"aioseo_meta_data":{"post_id":"22","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-01-18 09:43:38","updated":"2025-06-05 20:49:04","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.oscarc.net\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/blog.oscarc.net\/index.php\/category\/humor\/\" title=\"Humor\">Humor<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tC Compiler Errors (For Real)\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/blog.oscarc.net"},{"label":"Humor","link":"https:\/\/blog.oscarc.net\/index.php\/category\/humor\/"},{"label":"C Compiler Errors (For Real)","link":"https:\/\/blog.oscarc.net\/index.php\/2008\/07\/27\/c-compiler-errors-for-real\/"}],"_links":{"self":[{"href":"https:\/\/blog.oscarc.net\/index.php\/wp-json\/wp\/v2\/posts\/22","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.oscarc.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.oscarc.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.oscarc.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.oscarc.net\/index.php\/wp-json\/wp\/v2\/comments?post=22"}],"version-history":[{"count":1,"href":"https:\/\/blog.oscarc.net\/index.php\/wp-json\/wp\/v2\/posts\/22\/revisions"}],"predecessor-version":[{"id":23,"href":"https:\/\/blog.oscarc.net\/index.php\/wp-json\/wp\/v2\/posts\/22\/revisions\/23"}],"wp:attachment":[{"href":"https:\/\/blog.oscarc.net\/index.php\/wp-json\/wp\/v2\/media?parent=22"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.oscarc.net\/index.php\/wp-json\/wp\/v2\/categories?post=22"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.oscarc.net\/index.php\/wp-json\/wp\/v2\/tags?post=22"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}