[geany/geany] 4bd962: Remove hard coded option that prevents 64 bit tag generation.
Lex Trotman
git-noreply at xxxxx
Sun Apr 22 00:54:41 UTC 2012
Branch: refs/heads/master
Author: Lex Trotman <elextr at gmail.com>
Committer: Lex Trotman <elextr at gmail.com>
Date: Sun, 22 Apr 2012 00:54:41
Commit: 4bd962ee8dde25b4ce5605ce7b4bf43d79d066f6
https://github.com/geany/geany/commit/4bd962ee8dde25b4ce5605ce7b4bf43d79d066f6
Log Message:
-----------
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.
Modified Paths:
--------------
src/symbols.c
Modified: src/symbols.c
7 files changed, 3 insertions(+), 4 deletions(-)
===================================================================
@@ -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<TMTag, GList<GList<TMTag>>> */
static void tags_table_insert(GHashTable *table, TMTag *tag, GList *data)
{
@@ -1702,9 +1702,8 @@ gboolean symbols_recreate_tag_list(GeanyDocument *doc, gint sort_mode)
* 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)
{
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Commits
mailing list