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

__DATE__ and RTX51 Tiny give link errors

This declaration

const char code* const gBuildDate = __DATE__;

gives lots of link errors when I use RTX51 Tiny but is fine without RTX.
(My program uses conditional compilation to build either a RTX or non-RTX version)
Any ideas?

Parents
  • This always works for me:

    // In each module
    static const char s_moduleInfo[] = __FILE__ " modified " __DATE__ " at " __TIME__;
    
    // Or in one module that is set to "always build".
    const char g_projInfo[] = "Project modified " __DATE__ " at " __TIME__;
    - Mark

Reply
  • This always works for me:

    // In each module
    static const char s_moduleInfo[] = __FILE__ " modified " __DATE__ " at " __TIME__;
    
    // Or in one module that is set to "always build".
    const char g_projInfo[] = "Project modified " __DATE__ " at " __TIME__;
    - Mark

Children
No data