<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Getting Error &amp;quot;Not in Formal Parameter List&amp;quot;!</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/20302/getting-error-not-in-formal-parameter-list</link><description> Hi All, 
I am using C51. 
I am getting an error &amp;quot;C132: Not in Formal Parameter list&amp;quot; to the main() function. also getting same error to the structures defined. please can anybody tell me why this is happaning? 
I am not able to resolve this error! 
</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Getting Error "Not in Formal Parameter List"!</title><link>https://community.arm.com/thread/46252?ContentTypeID=1</link><pubDate>Mon, 19 Jun 2006 08:52:07 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:62c76036-0bce-4897-b386-a16cf61a279a</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;Did you try looking this up in the &lt;b&gt;Manual&lt;/b&gt;?&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.keil.com/support/man/docs/c51/c51_c132.htm"&gt;http://www.keil.com/support/man/docs/c51/c51_c132.htm&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
It looks like it has to do with the old K&amp;amp;R style of function definitions - do you have a good reason to do that, rather than ANSI style?&lt;br /&gt;
&lt;br /&gt;
Further than that, it is impossible to say without seeing your actual code.&lt;br /&gt;
&lt;br /&gt;
Read the instructions (3rd bullet point above the &amp;#39;Message&amp;#39; window when you post), and use copy-and-post - do not re-type yuor code!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>