This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bug in compiler

I,ve installed the Compiler and I can,t get even the simplest code to compile properely.

Anyone know where the fix for this bug is?

Or is it a limit of the demonstration version?

void main(void)
{ cout << "Hello world!";
}

Parents
  • There is obviously sufficient analysis going on to allow it to omit a load of stuff if the program uses no floating point.

    Yes. But that doesn't require, or imply, any analysis of the printf() calls themselves.

    Presumably, if the program contains floating point and uses printf, the compiler cannot safely assume that there aren't any dynamically-created floating-point formats - so it just has to include them, just in case.

    Indeed.

Reply
  • There is obviously sufficient analysis going on to allow it to omit a load of stuff if the program uses no floating point.

    Yes. But that doesn't require, or imply, any analysis of the printf() calls themselves.

    Presumably, if the program contains floating point and uses printf, the compiler cannot safely assume that there aren't any dynamically-created floating-point formats - so it just has to include them, just in case.

    Indeed.

Children
No data