Changeset 3160

Show
Ignore:
Timestamp:
07/06/10 20:44:39 (2 months ago)
Author:
plasmahh
Message:
  • added another tip
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/xcolorgcc/xcolorgcc

    r3159 r3160  
    4343        s=s.replace("]","\\]") 
    4444        s=s.replace("*","\\*") 
     45        s=s.replace(".","\\.") 
    4546        return s 
    4647 
     
    449450                        s+="This error is often caused by a missing semicolon of a class/struct declared a few lines above the function in question" 
    450451                        return s 
     452                m=re.search("too few arguments for format",msg) 
     453                if(m): 
     454                        s+="This can be a serious bug; in the case there is no argument for a format string the function will just take garbage from the stack and possibly interpreting it as a pointer. And crash." 
     455                        return s 
    451456                return s 
    452457