pkgsrc-Bugs archive

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

Re: pkg/46586: libXt regression?



The following reply was made to PR pkg/46586; it has been noted by GNATS.

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: pkg/46586: libXt regression?
Date: Mon, 11 Jun 2012 17:20:58 +0200

 On Mon, Jun 11, 2012 at 03:00:01PM +0000, 
joern.clausen%uni-bielefeld.de@localhost wrote:
 > libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I./../include -DLIBPLOT 
 > -DLIBPLOTTER 
 > -I/pkgsrc/source/pkgsrc/graphics/plotutils/work.pkgsrc-i86/.buildlink/include
 >  -O -MT apioldcc.lo -MD -MP -MF .deps/apioldcc.Tpo -c apioldcc.cc  -fPIC 
 > -DPIC -o .libs/apioldcc.o
 > In file included from ./../include/plotter.h:68:0,
 >                  from extern.h:63,
 >                  from apioldcc.cc:37:
 > /pkgsrc/source/pkgsrc/graphics/plotutils/work.pkgsrc-i86/.buildlink/include/X11/Intrinsic.h:1863:37:
 >  error: expected ',' or '...' before 'format'
 > /pkgsrc/source/pkgsrc/graphics/plotutils/work.pkgsrc-i86/.buildlink/include/X11/Intrinsic.h:1865:3:
 >  error: args to be formatted is not '...'
 > *** Error code 1
 
 For me, the lines are:
     #ifndef _X_RESTRICT_KYWD
     # define _X_RESTRICT_KYWD
     #endif
     extern Cardinal XtAsprintf(
         String *new_string,
 1863   _Xconst char * _X_RESTRICT_KYWD format,
        ...
     ) _X_ATTRIBUTE_PRINTF(2,3);
 
     #ifdef XTTRACEMEMORY
 
 To what is _X_RESTRICT_KYWD expanded for you?
  Thomas
 


Home | Main Index | Thread Index | Old Index