Changeset 69912 in vbox
- Timestamp:
- Dec 3, 2017 7:08:13 PM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/bldprogs/VBoxCompilerPlugInsGcc.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bldprogs/VBoxCompilerPlugInsGcc.cpp
r69091 r69912 39 39 #include "tree.h" 40 40 #include "tree-pass.h" 41 #if __GNUC__ == 5 && __GNUC_MINOR__ == 4 42 # include "tree-ssa-alias.h" 43 # include "gimple-expr.h" 44 #endif 41 45 #include "gimple.h" 42 46 #if RT_GNUC_PREREQ(4, 9) … … 368 372 expanded_location XLoc = expand_location_to_spelling_point(hLoc); 369 373 int cchLine = 0; 370 # if RT_GNUC_PREREQ( 5,0)374 # if RT_GNUC_PREREQ(6,0) 371 375 const char *pszLine = location_get_source_line(XLoc.file, XLoc.line, &cchLine); 376 # elif RT_GNUC_PREREQ(5,0) 377 const char *pszLine = location_get_source_line(XLoc, &cchLine); 372 378 # else 373 379 const char *pszLine = location_get_source_line(XLoc); … … 698 704 else 699 705 error_at(gimple_location(hStmt), 700 "Call has only %d arguments; %s() format string is argument #% u (1-based), thus missing\n",701 cCallArgs, DECL_NAME(hFnDecl) ? IDENTIFIER_POINTER(DECL_NAME(hFnDecl)) : "<unamed>", State.iFmt);706 "Call has only %d arguments; %s() format string is argument #%lu (1-based), thus missing\n", 707 cCallArgs, DECL_NAME(hFnDecl) ? IDENTIFIER_POINTER(DECL_NAME(hFnDecl)) : "<unamed>", State.iFmt); 702 708 } 703 709 }
Note:
See TracChangeset
for help on using the changeset viewer.

