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

Error 253

Guys thanx for keeping the 'printf' thread lively and would especially like to thank Andrew for pointing me out the thing I was overlooking. I'm sort of stuck with another problem. This time its something to with the Error 253. Somehow I was not able to simulate the problem with a dummy program. So really can't pin-point out the problem. The error 253 is popping up with the following arguments:
Internal Error(ASMGEN - TRIPLE=02150960)
The compiler is dumping it while compiling a line with 'memset' command.
I've not failed to include the string.h header file.

Parents
  • By "hash definitions" I assume you mean the 'C' preprocessor #define directive?
    This is a well known source of many "peculiar" errors!

    To keep your 'extern' declarations & function prototypes in step with the "real" definitions, be sure to put them in header file(s) and #include them where the "real" definitions occur.
    If they match, everything will be fine;
    If they don't match, the compiler will give you a "duplicate definition" or "redefinition" or similar warning.

Reply
  • By "hash definitions" I assume you mean the 'C' preprocessor #define directive?
    This is a well known source of many "peculiar" errors!

    To keep your 'extern' declarations & function prototypes in step with the "real" definitions, be sure to put them in header file(s) and #include them where the "real" definitions occur.
    If they match, everything will be fine;
    If they don't match, the compiler will give you a "duplicate definition" or "redefinition" or similar warning.

Children