Commit ee6a0290 authored by Mukund Sivaraman's avatar Mukund Sivaraman

Add -fno-common to CFLAGS

Also fix the errors that were discovered by it. Multiple
definitions of global variables are no longer silently combined by
the linker, and will be reported as errors.

If you see GIMP crash strangely (i.e, apart from the usual crashes),
please go see a head doctor.
parent cc04620b
......@@ -356,6 +356,9 @@ CFLAGS="$CFLAGS $extra_warnings"
GIMP_DETECT_CFLAGS(extra_warnings, '-Wformat-non-literal')
CFLAGS="$CFLAGS $extra_warnings"
GIMP_DETECT_CFLAGS(extra_warnings, '-fno-common')
CFLAGS="$CFLAGS $extra_warnings"
# Ensure MSVC-compatible struct packing convention is used when
# compiling for Win32 with gcc.
......
......@@ -23,7 +23,7 @@
G_BEGIN_DECLS
enum
typedef enum
{
GIMP_XMP_MODEL_WIDGET_PROP_0,
GIMP_XMP_MODEL_WIDGET_PROP_SCHEMA_URI,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment