]> git.gag.com Git - fw/sdcc/commitdiff
#warning does not work in MSVC. Used "#pragma message" instead.
authorjesusc <jesusc@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 1 Sep 2003 17:13:58 +0000 (17:13 +0000)
committerjesusc <jesusc@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 1 Sep 2003 17:13:58 +0000 (17:13 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2867 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/pic16/pcode.c

index d03ae85c11acd5c3b6d81e66ed82b7aa6a7b3ba8..b1823026ce047c0ff3368ac7871a14caa255c909 100644 (file)
@@ -5963,7 +5963,11 @@ static void pic16_FixRegisterBanking(pBlock *pb)
        }
 #endif
 
-#warning Fix this if-conditional
+#if !defined(__BORLANDC__) && !defined(_MSC_VER)
+   #warning Fix this if-conditional
+#else
+    #pragma message( "warning Fix this if-conditional" )
+#endif
        /* the !(reg->rIdx==-1) is a temporary hack. It should be changed - VR 6-Jun-2003 */
        if( ( (reg /*&& !(reg->rIdx==-1)*/ && !isACCESS_BANK(reg) && (isBankInstruction(pc)==-1) && !(reg->alias == 0x80) )
                 /*|| (PCI(pc)->op != POC_CALL)*/ )