Jump to content

Bootc 6.80 Fails To Compile


Recommended Posts

//
// File: bug11.C
// Target: PIC16F648A
// OS: WinXP, SP2
// SourceBoostIDE: 6.80
// Compiler: BoostC 6.80
// Reproducible: always
// Expected behavior: Compile without error
//
// Description: 
//
//  Sequential statement fails to compile when used as rvalue.
//  

#include <system.h>
unsigned char x,y,z;

void main()
{
 while (1)
 {
z=4;
x=0;
y=1;
if (x,y)
{
  z = 3;
}
// causes a compile error
z = (x,y);
 }
}

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...
×
×
  • Create New...