SF.net SVN: geany: [1350] trunk/src/project.c

ntrel at users.sourceforge.net ntrel at xxxxx
Thu Mar 1 12:38:31 UTC 2007


Revision: 1350
          http://svn.sourceforge.net/geany/?rev=1350&view=rev
Author:   ntrel
Date:     2007-03-01 04:38:31 -0800 (Thu, 01 Mar 2007)

Log Message:
-----------
avoid using __VA_ARGS__ because older gcc 2.x versions probably don't support C99.

Modified Paths:
--------------
    trunk/src/project.c

Modified: trunk/src/project.c
===================================================================
--- trunk/src/project.c	2007-03-01 11:42:11 UTC (rev 1349)
+++ trunk/src/project.c	2007-03-01 12:38:31 UTC (rev 1350)
@@ -69,7 +69,8 @@
 static void on_entries_changed(GtkEditable *editable, PropertyDialogElements *e);
 
 
-#define SHOW_ERR(...) dialogs_show_msgbox(GTK_MESSAGE_ERROR, __VA_ARGS__)
+// avoid using __VA_ARGS__ because older gcc 2.x versions probably don't support C99
+#define SHOW_ERR(args...) dialogs_show_msgbox(GTK_MESSAGE_ERROR, args)
 #define MAX_NAME_LEN 50
 // "projects" is part of the default project base path so be carefully when translating
 // please avoid special characters and spaces, look at the source for details or ask Frank


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list