From 4bd962ee8dde25b4ce5605ce7b4bf43d79d066f6 Mon Sep 17 00:00:00 2001 From: Lex Trotman Date: Sun, 22 Apr 2012 10:54:41 +1000 Subject: [PATCH] Remove hard coded option that prevents 64 bit tag generation. On GNU X86-64 systems the predefined macros are required to choose the correct headers, so tag definition fails with -undef. Removed it from hardcoded, systems that need it can add it to CFLAGS. --- src/symbols.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/symbols.c b/src/symbols.c index ae252650b..a7fcd7b7e 100644 --- a/src/symbols.c +++ b/src/symbols.c @@ -1296,7 +1296,7 @@ static void free_iter_slice_list(gpointer data) /* inserts a @data in @table on key @tag. * previous data is not overwritten if the key is duplicated, but rather the * two values are kept in a list - * + * * table is: GHashTable>> */ static void tags_table_insert(GHashTable *table, TMTag *tag, GList *data) { @@ -1702,9 +1702,8 @@ static GeanyFiletype *detect_global_tags_filetype(const gchar *utf8_filename) * CFLAGS=-I/home/user/libname-1.x geany -g libname.d.tags libname.h */ int symbols_generate_global_tags(int argc, char **argv, gboolean want_preprocess) { - /* -E pre-process, -dD output user macros, -p prof info (?), - * -undef remove builtin macros (seems to be needed with FC5 gcc 4.1.1) */ - const char pre_process[] = "gcc -E -dD -p -undef"; + /* -E pre-process, -dD output user macros, -p prof info (?) */ + const char pre_process[] = "gcc -E -dD -p"; if (argc > 2) { -- 2.11.4.GIT