gnucash master: Multiple changes pushed
jralls at ceridwen.us
jralls at ceridwen.us
Sat Jul 5 15:17:53 EDT 2014
> On July 5, 2014 at 11:35 AM Sumit Bhardwaj <bhardwajs at gmail.com> wrote:
>
> Hi John,
>
> It fails in first C compilation. I do have to do a "make disclean" to get the
> error. Rebuilding with just uncommenting in configure doesn't throw error
> which is why I didn't see it earlier. I have pasted the error stack below.
>
> Do let me know if you want me to do any more experiments. For now, I will
> comment that line in<http://configure.ac> and rebuild the master.
>
> Thanks,
> Sumit
>
> /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I../.. -Wno-error=deprecated-declarations -I../../lib/libc -I../../src
> -I../../src -I../../src/gnc-module -I../../src/app-utils/calculation
> -I../../src/core-utils -I../../src/engine -I../../src/libqof/qof
> -I../../src/backend/xml -pthread -I/usr/include/guile/2.0 -pthread
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread
> -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1
> -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libxml2
> -DG_LOG_DOMAIN=\"gnc.app-utils\" -Werror -Wdeclaration-after-statement
> -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -Wall -Wunused -Wmissing-prototypes
> -Wmissing-declarations -Wno-non-literal-null-conversion -Wno-unused -g -O2
> -MT gfec.lo -MD -MP -MF .deps/gfec.Tpo -c -o gfec.lo gfec.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
> -Wno-error=deprecated-declarations -I../../lib/libc -I../../src -I../../src
> -I../../src/gnc-module -I../../src/app-utils/calculation
> -I../../src/core-utils -I../../src/engine -I../../src/libqof/qof
> -I../../src/backend/xml -pthread -I/usr/include/guile/2.0 -pthread
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread
> -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1
> -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libxml2
> -DG_LOG_DOMAIN=\"gnc.app-utils\" -Werror -Wdeclaration-after-statement
> -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -Wall -Wunused -Wmissing-prototypes
> -Wmissing-declarations -Wno-non-literal-null-conversion -Wno-unused -g -O2 -MT
> gfec.lo -MD -MP -MF .deps/gfec.Tpo -c gfec.c -fPIC -DPIC -o .libs/gfec.o
> gfec.c: In function 'gfec_catcher':
> gfec.c:79:13: warning: 'scm_internal_stack_catch' is deprecated (declared at
> /usr/include/guile/2.0/libguile/deprecated.h:648) [-Wdeprecated-declarations]
> scm_internal_stack_catch(SCM_BOOL_T,
> ^
> gfec.c: In function 'gfec_eval_file':
> gfec.c:135:5: warning: 'scm_internal_stack_catch' is deprecated (declared at
> /usr/include/guile/2.0/libguile/deprecated.h:648) [-Wdeprecated-declarations]
> result = scm_internal_stack_catch(SCM_BOOL_T,
> ^
> gfec.c: In function 'gfec_eval_string':
> gfec.c:173:5: warning: 'scm_internal_stack_catch' is deprecated (declared at
> /usr/include/guile/2.0/libguile/deprecated.h:648) [-Wdeprecated-declarations]
> result = scm_internal_stack_catch(SCM_BOOL_T,
> ^
> gfec.c: In function 'gfec_apply':
> gfec.c:216:5: warning: 'scm_internal_stack_catch' is deprecated (declared at
> /usr/include/guile/2.0/libguile/deprecated.h:648) [-Wdeprecated-declarations]
> result = scm_internal_stack_catch(SCM_BOOL_T,
> ^
> gfec.c: At top level:
> cc1: error: unrecognized command line option
> "-Wno-non-literal-null-conversion" [-Werror]
> cc1: all warnings being treated as errors
> make[4]: *** [gfec.lo] Error 1
> make[4]: Leaving directory `/home/bhardwajs/ac/devel/gnucash/src/app-utils'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/bhardwajs/ac/devel/gnucash/src/app-utils'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/bhardwajs/ac/devel/gnucash/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/bhardwajs/ac/devel/gnucash'
> make: *** [all] Error 2
>
Sumit,
That's kind of interesting. It should error out on the deprecated declarations,
since -Werror is in the options. That aside, the fact that it's getting past the
check for -Wno-non-literal-null-conversion in configure and then barfing during
build is what we're really interested in.
Can you find the part of config.log with the -Wno-non-literal-null-conversion
check and post it here?
Regards,
John Ralls
More information about the gnucash-devel
mailing list