bugGNU Paint - Bugs: bug #33371, drawing.c:432:69: error:...

 
 

bug #33371: drawing.c:432:69: error: ‘GTK_RESPONSE_DISCARD’ undeclared

Submitter:  None
Submitted:  Sun 22 May 2011 03:11:50 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 28 Apr 2013 03:08:28 PM UTC, comment #1: 

Just ran into the same problem. Replace GTK_RESPONSE_DISCARD with GTK_RESPONSE_NO fixes the issue.

(file #27966)

Marcus Karlsson <marcusk>
Sun 22 May 2011 03:11:50 PM UTC, original submission:  

[root@LAPTOP gpaint-2-0.3.2]# ./configure && make && make install
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GUI... yes
checking for PRINT... gnomeprint libraries are not available.
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  am ca cs de es fr ga ja nl pt pt_BR sv uk
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: executing default-1 commands

Configuration:

Source code location:   .
Compiler:   gcc
Extra Compiler Warnings: 


Making all in po
make[1]: Entering directory `/home/files/gpaint-2-0.3.2/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/files/gpaint-2-0.3.2/po'
Making all in src
make[1]: Entering directory `/home/files/gpaint-2-0.3.2/src'
gcc -DPACKAGE_NAME=\"gpaint-2\" -DPACKAGE_TARNAME=\"gpaint-2\" -DPACKAGE_VERSION=\"0.3.2\" -DPACKAGE_STRING=\"gpaint-2\ 0.3.2\" -DPACKAGE_BUGREPORT=\"http://savannah.gnu.org/bugs/\?group=gpaint\" -DPACKAGE=\"gpaint-2\" -DVERSION=\"0.3.2\" -DSTDC_HEADERS=1 -DGETTEXT_PACKAGE=\"gpaint-2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1  -I. -I.  -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14     -g -O2 -c about.c
gcc -DPACKAGE_NAME=\"gpaint-2\" -DPACKAGE_TARNAME=\"gpaint-2\" -DPACKAGE_VERSION=\"0.3.2\" -DPACKAGE_STRING=\"gpaint-2\ 0.3.2\" -DPACKAGE_BUGREPORT=\"http://savannah.gnu.org/bugs/\?group=gpaint\" -DPACKAGE=\"gpaint-2\" -DVERSION=\"0.3.2\" -DSTDC_HEADERS=1 -DGETTEXT_PACKAGE=\"gpaint-2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1  -I. -I.  -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14     -g -O2 -c brush.c
gcc -DPACKAGE_NAME=\"gpaint-2\" -DPACKAGE_TARNAME=\"gpaint-2\" -DPACKAGE_VERSION=\"0.3.2\" -DPACKAGE_STRING=\"gpaint-2\ 0.3.2\" -DPACKAGE_BUGREPORT=\"http://savannah.gnu.org/bugs/\?group=gpaint\" -DPACKAGE=\"gpaint-2\" -DVERSION=\"0.3.2\" -DSTDC_HEADERS=1 -DGETTEXT_PACKAGE=\"gpaint-2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1  -I. -I.  -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14     -g -O2 -c callbacks.c
gcc -DPACKAGE_NAME=\"gpaint-2\" -DPACKAGE_TARNAME=\"gpaint-2\" -DPACKAGE_VERSION=\"0.3.2\" -DPACKAGE_STRING=\"gpaint-2\ 0.3.2\" -DPACKAGE_BUGREPORT=\"http://savannah.gnu.org/bugs/\?group=gpaint\" -DPACKAGE=\"gpaint-2\" -DVERSION=\"0.3.2\" -DSTDC_HEADERS=1 -DGETTEXT_PACKAGE=\"gpaint-2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1  -I. -I.  -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14     -g -O2 -c canvas.c
canvas.c: In function ‘canvas_init_arg’:
canvas.c:369:36: warning: incompatible implicit declaration of built-in function ‘calloc’
canvas.c: In function ‘canvas_new’:
canvas.c:441:9: warning: incompatible implicit declaration of built-in function ‘free’
canvas.c: In function ‘canvas_clipboard_format_compare’:
canvas.c:917:45: warning: incompatible implicit declaration of built-in function ‘strlen’
gcc -DPACKAGE_NAME=\"gpaint-2\" -DPACKAGE_TARNAME=\"gpaint-2\" -DPACKAGE_VERSION=\"0.3.2\" -DPACKAGE_STRING=\"gpaint-2\ 0.3.2\" -DPACKAGE_BUGREPORT=\"http://savannah.gnu.org/bugs/\?group=gpaint\" -DPACKAGE=\"gpaint-2\" -DVERSION=\"0.3.2\" -DSTDC_HEADERS=1 -DGETTEXT_PACKAGE=\"gpaint-2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1  -I. -I.  -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14     -g -O2 -c color_palette.c
color_palette.c: In function ‘color_swatch_destroy’:
color_palette.c:184:5: warning: incompatible implicit declaration of built-in function ‘memset’
gcc -DPACKAGE_NAME=\"gpaint-2\" -DPACKAGE_TARNAME=\"gpaint-2\" -DPACKAGE_VERSION=\"0.3.2\" -DPACKAGE_STRING=\"gpaint-2\ 0.3.2\" -DPACKAGE_BUGREPORT=\"http://savannah.gnu.org/bugs/\?group=gpaint\" -DPACKAGE=\"gpaint-2\" -DVERSION=\"0.3.2\" -DSTDC_HEADERS=1 -DGETTEXT_PACKAGE=\"gpaint-2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1  -I. -I.  -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14     -g -O2 -c drawing.c
drawing.c: In function ‘drawing_prompt_to_save’:
drawing.c:432:69: error: ‘GTK_RESPONSE_DISCARD’ undeclared (first use in this function)
drawing.c:432:69: note: each undeclared identifier is reported only once for each function it appears in
make[1]: * [drawing.o] Error 1
make[1]: Leaving directory `/home/files/gpaint-2-0.3.2/src'
make: * [all-recursive] Error 1

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #27966:  0001-drawing.c.diff added by marcusk (671B - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by marcusk (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-04-28 marcusk Attached File- Added 0001-drawing.c.diff, #27966

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code