Missing va_start and va_end compiling utils/src/rootcint_tmp.cxx

From: Nick West <n.west1_at_physics.ox.ac.uk>
Date: Fri, 6 Oct 2006 06:56:47 +0100

Dear Roottalk,

As of last night, my root build is failing:-

  g++ -g -pipe -Wall -W -Woverloaded-virtual -fPIC    -Iinclude -pthread -UHAVE_CONFIG -DROOTBUILD -o /dev/null -c utils/src/rootcint_tmp.cxx

  utils/src/rootcint.cxx: In function `void Error(const char*, const char*,

  utils/src/rootcint.cxx:432: `va_start' undeclared (first use this function)
  utils/src/rootcint.cxx:432: (Each undeclared identifier is reported only once

     for each function it appears in.)
  utils/src/rootcint.cxx:434: `va_end' undeclared (first use this function)

I have traced that to the update to base/inc/Varargs.h:-

  date: 2006/10/05 21:06:35; author: rdm; state: Exp; lines: +29 -12    move R__VA_COPY from TString.cxx to Varargs.h where it belongs.

as this removes:-

< # ifndef __CINT__
< # include <stdarg.h>
< # endif

from the #else section of

  #if defined(sparc) && defined(__CC_ATT301__)   #endif

I am using gcc version 3.2.3 and Scientific Linux SL Release 3.0.3 (SL)

Has something changed in the configuration?


Nick West. Received on Fri Oct 06 2006 - 07:56:59 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET