Jump to content

Trianary Operator


Recommended Posts

From time to time the compiler (seen it in 6.81 and 6.84) will choke on this line of code:

 

	decor = ( ( data[view] == 0x04 ) ? 0x01 : 0x00 );

 

Giving this message:

 

error: jump to undefined label

 

But most of the time it will compile fine.

 

Addem:

 

This line of code exists in a function far below where I'm currently editing... I was able to get the error to go away by changing a in a function call from:

 

function( " " );

 

to:

function( " -- " );

 

Jacob

Edited by Jacob Christ
Link to post
Share on other sites
We need a project that shows this error. We can't fix bugs that we can't reproduce.

 

I understand this, and if I had a concise example I would send it. But, none the less, you now have more information than you did prior to the report and unless otherwise instructed to do so, I will report every problem I find to the best of my ability.

 

Jacob

Link to post
Share on other sites
I have now seen this same error with an if statement!!!

 

Addem:

 

I was able to fix this error, but just adding a blank line before the if statement.

 

Jacob

 

Can you send the code to support@sourceboost.com?

 

Regards,

Pavel

Link to post
Share on other sites
  • 2 weeks later...

On another note, I see this quite often now... just adding a line fixes the problem.

 

Jacob

 

I have now seen this same error with an if statement!!!

 

Addem:

 

I was able to fix this error, but just adding a blank line before the if statement.

 

Jacob

Link to post
Share on other sites

Jacob Christ,

On another note, I see this quite often now... just adding a line fixes the problem.

 

Jacob

 

I have now seen this same error with an if statement!!!

 

Addem:

 

I was able to fix this error, but just adding a blank line before the if statement.

If you have a project that demonstrates this problem, please send it to support@sourceboost.com. Currently we can't reproduce the problem, so we can't fix it.

 

Regards

Dave

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...