diff mbox

[PING] PR33919/preprocessor fix __BASE_FILE__ when included from the command line

Message ID 20120109130436.6ABB03BE18@mailhost.lps.ens.fr
State New
Headers show

Commit Message

Dominique d'Humières Jan. 9, 2012, 1:04 p.m. UTC
> I get the build failure: ...

I got the same failure. The following patch

allowed me to finish the build.

Cheers,

Dominique

PS I always wonder you such failures can escape the maintainers' tests!-(
diff mbox

Patch

--- ../_clean/libcpp/macro.c	2012-01-09 11:15:22.000000000 +0100
+++ ../work/libcpp/macro.c	2012-01-09 12:28:06.000000000 +0100
@@ -217,7 +217,7 @@  static const char * const monthnames[] =
 const uchar *
 _cpp_builtin_macro_text (cpp_reader *pfile, cpp_hashnode *node)
 {
-  const struct line_map *map;
+  const struct line_map __attribute__((unused)) *map;
   const uchar *result = NULL;
   linenum_type number = 1;