{"id":7,"date":"2007-10-14T12:45:28","date_gmt":"2007-10-14T19:45:28","guid":{"rendered":"http:\/\/rudemocks.sourceforge.net\/wordpress\/?p=7"},"modified":"2007-10-14T12:47:02","modified_gmt":"2007-10-14T19:47:02","slug":"gcc-support-added","status":"publish","type":"post","link":"https:\/\/www.martinecker.com\/rudemocks\/gcc-support-added\/","title":{"rendered":"GCC Support Added"},"content":{"rendered":"<p>RudeMocks now also supports the <a href=\"http:\/\/www.mingw.org\/\">MingW GCC compiler<\/a> on Windows and x86 processors. Build files for the <a href=\"http:\/\/www.codeblocks.org\/\">CodeBlocks IDE<\/a> are provided. You will need a recent nightly snapshot to use them, though. The latest CodeBlocks release candidate will not do the trick. With GCC support, a Linux port should be fairly straightforward. Only the MemoryUnprotector class needs to be implemented for RudeMocks to run on Linux\/x86.<\/p>\n<p>Unfortunately, there&#8217;s no news on the virtual inheritance support front. Implementing this, especially with MSVC, has proven to be fairly difficult. The only good and clean way of supporting virtual inheritance that I&#8217;ve found so far is by having the client create a proper instance of the class using virtual inheritance and then transforming it into a mock.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RudeMocks now also supports the MingW GCC compiler on Windows and x86 processors. Build files for the CodeBlocks IDE are provided. You will need a recent nightly snapshot to use them, though. The latest CodeBlocks release candidate will not do the trick. With GCC support, a Linux port should be fairly straightforward. Only the MemoryUnprotector [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7","post","type-post","status-publish","format-standard","hentry","category-news"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>GCC Support Added - RudeMocks<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.martinecker.com\/rudemocks\/gcc-support-added\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GCC Support Added - RudeMocks\" \/>\n<meta property=\"og:description\" content=\"RudeMocks now also supports the MingW GCC compiler on Windows and x86 processors. Build files for the CodeBlocks IDE are provided. You will need a recent nightly snapshot to use them, though. The latest CodeBlocks release candidate will not do the trick. With GCC support, a Linux port should be fairly straightforward. Only the MemoryUnprotector [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.martinecker.com\/rudemocks\/gcc-support-added\/\" \/>\n<meta property=\"og:site_name\" content=\"RudeMocks\" \/>\n<meta property=\"article:published_time\" content=\"2007-10-14T19:45:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2007-10-14T19:47:02+00:00\" \/>\n<meta name=\"author\" content=\"Martin Ecker\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Martin Ecker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.martinecker.com\/rudemocks\/gcc-support-added\/\",\"url\":\"https:\/\/www.martinecker.com\/rudemocks\/gcc-support-added\/\",\"name\":\"GCC Support Added - RudeMocks\",\"isPartOf\":{\"@id\":\"https:\/\/www.martinecker.com\/rudemocks\/#website\"},\"datePublished\":\"2007-10-14T19:45:28+00:00\",\"dateModified\":\"2007-10-14T19:47:02+00:00\",\"author\":{\"@id\":\"https:\/\/www.martinecker.com\/rudemocks\/#\/schema\/person\/3d2b0364b7f1b7f4a54ab5760301adef\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.martinecker.com\/rudemocks\/gcc-support-added\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.martinecker.com\/rudemocks\/#website\",\"url\":\"https:\/\/www.martinecker.com\/rudemocks\/\",\"name\":\"RudeMocks\",\"description\":\"The latest news on the RudeMocks C++ mocking framework.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.martinecker.com\/rudemocks\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.martinecker.com\/rudemocks\/#\/schema\/person\/3d2b0364b7f1b7f4a54ab5760301adef\",\"name\":\"Martin Ecker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.martinecker.com\/rudemocks\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7dfd53e699c35d22210a3c63e4b3e2cfae66f49029b0cde5f3c9d86847471d7a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7dfd53e699c35d22210a3c63e4b3e2cfae66f49029b0cde5f3c9d86847471d7a?s=96&d=mm&r=g\",\"caption\":\"Martin Ecker\"},\"sameAs\":[\"http:\/\/www.martinecker.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"GCC Support Added - RudeMocks","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.martinecker.com\/rudemocks\/gcc-support-added\/","og_locale":"en_US","og_type":"article","og_title":"GCC Support Added - RudeMocks","og_description":"RudeMocks now also supports the MingW GCC compiler on Windows and x86 processors. Build files for the CodeBlocks IDE are provided. You will need a recent nightly snapshot to use them, though. The latest CodeBlocks release candidate will not do the trick. With GCC support, a Linux port should be fairly straightforward. Only the MemoryUnprotector [&hellip;]","og_url":"https:\/\/www.martinecker.com\/rudemocks\/gcc-support-added\/","og_site_name":"RudeMocks","article_published_time":"2007-10-14T19:45:28+00:00","article_modified_time":"2007-10-14T19:47:02+00:00","author":"Martin Ecker","twitter_misc":{"Written by":"Martin Ecker","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.martinecker.com\/rudemocks\/gcc-support-added\/","url":"https:\/\/www.martinecker.com\/rudemocks\/gcc-support-added\/","name":"GCC Support Added - RudeMocks","isPartOf":{"@id":"https:\/\/www.martinecker.com\/rudemocks\/#website"},"datePublished":"2007-10-14T19:45:28+00:00","dateModified":"2007-10-14T19:47:02+00:00","author":{"@id":"https:\/\/www.martinecker.com\/rudemocks\/#\/schema\/person\/3d2b0364b7f1b7f4a54ab5760301adef"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.martinecker.com\/rudemocks\/gcc-support-added\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.martinecker.com\/rudemocks\/#website","url":"https:\/\/www.martinecker.com\/rudemocks\/","name":"RudeMocks","description":"The latest news on the RudeMocks C++ mocking framework.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.martinecker.com\/rudemocks\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.martinecker.com\/rudemocks\/#\/schema\/person\/3d2b0364b7f1b7f4a54ab5760301adef","name":"Martin Ecker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.martinecker.com\/rudemocks\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7dfd53e699c35d22210a3c63e4b3e2cfae66f49029b0cde5f3c9d86847471d7a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7dfd53e699c35d22210a3c63e4b3e2cfae66f49029b0cde5f3c9d86847471d7a?s=96&d=mm&r=g","caption":"Martin Ecker"},"sameAs":["http:\/\/www.martinecker.com"]}]}},"_links":{"self":[{"href":"https:\/\/www.martinecker.com\/rudemocks\/wp-json\/wp\/v2\/posts\/7","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.martinecker.com\/rudemocks\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.martinecker.com\/rudemocks\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.martinecker.com\/rudemocks\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.martinecker.com\/rudemocks\/wp-json\/wp\/v2\/comments?post=7"}],"version-history":[{"count":0,"href":"https:\/\/www.martinecker.com\/rudemocks\/wp-json\/wp\/v2\/posts\/7\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.martinecker.com\/rudemocks\/wp-json\/wp\/v2\/media?parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.martinecker.com\/rudemocks\/wp-json\/wp\/v2\/categories?post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.martinecker.com\/rudemocks\/wp-json\/wp\/v2\/tags?post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}