Reply to comment

Compiler Identification

Thank you for this. I am looking for a define that I can use to identify which compiler is being used, i.e. Microsoft's Visual C, IAR's AVR compiler, or gcc. Looking at this list I suspect that if __GNUC__ is defined, I can assume the compiler is gcc.

P.S. Recaptcha is getting harder and harder to use. I got the first one wrong, and the second I had to guess a couple of the letters.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote>
  • Lines and paragraphs break automatically.
  • You may post PHP code. You should include <?php ?> tags.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <cpp>. The supported tag styles are: <foo>, [foo]. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.
  • Images can be added to this post.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
2 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.