[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compiler warnings

From: Werner LEMBERG
Subject: compiler warnings
Date: Fri, 03 Oct 2014 22:15:13 +0200 (CEST)

[gcc 4.7.2]

Compiling lilypond, I now get zillions of warnings like this:

  In file included from ./include/smobs.hh:315:0,
                   from ./include/box.hh:10,
                   from ./include/font-metric.hh:23,
                   from ./include/font-interface.hh:23,
  ./include/smobs.tcc: In instantiation of
     'static void Smob_base<Super>::init() [with Super = 
  ./include/smobs.tcc:83:10:   required from
     'Scm_init Smob_base<Unpure_pure_container>::scm_init_'
  ./include/smobs.hh:160:35:   required from
     'static scm_t_bits Smob_base<Super>::smob_tag()
     [with Super = Unpure_pure_container; scm_t_bits = long unsigned int]'
  ./include/small-smobs.hh:52:5:   required from
     'static scm_unused_struct* Smob2<Super>::make_smob(SCM, SCM)
     [with Super = Unpure_pure_container; SCM = scm_unused_struct*]'
  ./include/unpure-pure-container.hh:39:44:   required from here
  ./include/smobs.tcc:110:3: warning: the address of
    'static int Unpure_pure_container::print_smob(SCM, SCM, scm_print_state*)'
    will never be NULL [-Waddress]

Any chance to fix that?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]