<?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>Type convert</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/15150/type-convert</link><description> complier is error ,following is program 
 
#include &amp;lt;reg52.h&amp;gt; 
#include	&amp;lt;stdio.h&amp;gt; 
 
unsigned int i; 
sbit Test=P1^0; 
 
main() 
{ 
	i=(int *)Test; 
} 
 
error info is : 
error c253:INTERNAL ERROR(ASMGEN - TRIPLE=00D[00A5A202]) </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Type convert</title><link>https://community.arm.com/thread/54734?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2002 17:59:33 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0f705748-b713-4e29-8169-20b33eedebbc</guid><dc:creator>Richard Collett</dc:creator><description>&lt;p&gt;Obviously what the program attempted to do was impossible.&lt;br /&gt;
It would be nice if the compiler simpler gave an informative error message, e.g. &amp;quot;Cannot create pointer to bit variable&amp;quot;, rather than generating an obscure internal error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Type convert</title><link>https://community.arm.com/thread/39256?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2002 11:49:25 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:aa18da50-ab4a-46ac-a9b8-5d7e0a3215a2</guid><dc:creator>Jon Ward</dc:creator><description>&lt;p&gt;There is not such thing as a pointer to a bit on the 8051.  Therefore, the C51 compiler cannot support.  In fact, no 8051 C compiler can support a pointer to a bit (for the 8051).&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Jon&lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Type convert</title><link>https://community.arm.com/thread/39254?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2002 07:20:44 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:18e55aaf-a487-4d0b-922b-7937dc1f60c7</guid><dc:creator>HansBernhard Broeker</dc:creator><description>&lt;p&gt;Setting aside the question what that compiler error message means: your code is at least as wrong as the compiler&amp;#39;s reaction to it.&lt;br /&gt;
&lt;br /&gt;
This program cannot possibly do anything sensible: what on earth should the re-interpretation of a single *bit* as a pointer be?&lt;br /&gt;
&lt;br /&gt;
Patient: Doctor, it hurts if I do this (does it)!&lt;br /&gt;
Doctor:  Well, don&amp;#39;t do that then.&lt;br /&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>