Jump to content

Program Chash

Recommended Posts

#include <system.h>

typedef unsigned char uint8;

//#define	CHANNEL_1			0

	uint8				moneyChannel;
	uint8				mechPulseInput;
} mech;

void Function(void)
	uint8 channel;
	for (channel = CHANNEL_1; channel < PULSE_CHANNELS; ++channel)
	} // end for.

Having some problems with compiler crashing with this simple code.


I am getting an internal error and a dialog box pops up with 2 buttons saying debug and close program.

Pressing close program doesn't close the program, the IDE just continues as normal.


The (psudo) crash occurs when the constant CHANNEL_1 is undefined.



Sourceboost C V7.30

Windows 10 64 bit.







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.

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.

  • Create New...