{"id":1127,"date":"2020-08-26T13:38:28","date_gmt":"2020-08-26T13:38:28","guid":{"rendered":"https:\/\/ibex.tech\/embedded\/?p=1127"},"modified":"2022-02-18T15:37:48","modified_gmt":"2022-02-18T15:37:48","slug":"xc8-v2-c99-issues","status":"publish","type":"post","link":"https:\/\/ibex.tech\/embedded\/microchip\/pic18\/xc8-compiler\/issues-xc8-compiler\/xc8-v2-c99-issues","title":{"rendered":"XC8 V2 C99 Issues"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">warning: (520) function &#8220;_SomeFunctionName&#8221; is never called<\/h4>\n\n\n\n<p>Setting warning level to 0 will get rid of this one<\/p>\n\n\n\n<p>Right click project > Properties > XC8 Global Options > XC8 Compiler > Warning Level = 0<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">warning: \u2018\/*\u2019 within block comment [-Wcomment]<\/h4>\n\n\n\n<p>This is a stupid GCC warning that is&nbsp;<a href=\"https:\/\/gcc.gnu.org\/onlinedocs\/gcc-4.6.1\/gcc\/Warning-Options.html\" target=\"_blank\" rel=\"noreferrer noopener\">detailed here<\/a>.<\/p>\n\n\n\n<p>To suppress it include this somewhere in your code:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#pragma GCC diagnostic ignored \"-Wcomment\"\t\t\/\/Disable warning: \u2018\/*\u2019 within block comment &#91;-Wcomment]<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>warning: (520) function &#8220;_SomeFunctionName&#8221; is never called Setting warning level to 0 will get rid of this one Right click project > Properties > XC8 Global Options > XC8 Compiler > Warning Level = 0 warning: \u2018\/*\u2019 within block comment [-Wcomment] This is a stupid GCC warning that is&nbsp;detailed here. To suppress it include this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66],"tags":[],"class_list":["post-1127","post","type-post","status-publish","format-standard","hentry","category-issues-xc8-compiler"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/posts\/1127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/comments?post=1127"}],"version-history":[{"count":4,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/posts\/1127\/revisions"}],"predecessor-version":[{"id":1133,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/posts\/1127\/revisions\/1133"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/media?parent=1127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/categories?post=1127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/tags?post=1127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}