From bc9ae27d0a8b8c5ea46f16a22ca61e489820972a Mon Sep 17 00:00:00 2001 From: asfernandes Date: Sun, 17 Feb 2008 15:47:43 +0000 Subject: [PATCH] Generate named structs in GPRE to not have a lot of warnings in GCC --- src/gpre/c_cxx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpre/c_cxx.cpp b/src/gpre/c_cxx.cpp index dabc91f5f9..33fc3be752 100644 --- a/src/gpre/c_cxx.cpp +++ b/src/gpre/c_cxx.cpp @@ -3704,7 +3704,7 @@ static void make_ok_test( const act* action, const gpre_req* request, int column static void make_port(const gpre_port* port, int column) { - printa(column, "struct {"); + printa(column, "struct isc_%d_struct {", port->por_ident); for (const ref* reference = port->por_references; reference; reference = reference->ref_next)