Jump to content
Sign in to follow this  
Stringer

IF it just would work..

Recommended Posts

This won't compile:

 

#include <system.h>

main()
{
  char TempEnd, TempLine, ReturnBit = 0;
  
  TempEnd = 3;

  TempLine = 1;

  if( TempLine+1 == TempEnd-1  )
     ReturnBit = 2;
}

 

Compiler says following:

Compiling...

 

C:\PROGRA~1\PicAnt\c2cpp.exe -PPIC16F877 -SRC -ols -md -O2 -W1 -Ip16F877.inc -obits.asm  bits.cpp

 

C2C++ 5.2.2e C/C++ compiler  Copyright© 1998-99,2000-2003 by Pavel Baranov

support@picant.com

(Extended version)

 

Licensed to: Antti Toivanen

 

 

bits.cpp

bits.cpp(11): One of the 16-bit expressions is too complicated

bits.cpp(12): General error

 

Finished.

Done

 

Failed

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...