Markus Neteler wrote:
> > You can fix that by adding the missing headers to
> > visualization/nviz/src/
> ...
> > The togl.c contains a set of 'if' + 'elif' to reflect the various
> > version numbers, so update that, too. It's pretty straightforward...
>
> Apparently I am wrong here.
> It seems that Glynn's update to togl.c 1.7 make it unnecessary to
> include the headers.
>
> Can we remove the entire/most of header cruft?:
>
> ls tkInt*.h
> tkInt4.0.h tkInt8.0.2.h tkInt8.2.3.h tkInt8.4.9.h
> tkIntDecls8.1.1.h tkIntDecls8.3.h tkIntDecls8.5.0.h
> tkInt4.1.h tkInt8.0.h tkInt8.3.3.h tkInt8.4.h
> tkIntDecls8.2.3.h tkIntDecls8.4.9.h tkInt.h
> tkInt4.2.h tkInt8.1.1.h tkInt8.3.h tkInt8.5.0.h
> tkIntDecls8.3.3.h tkIntDecls8.4.h
>
> There isn't much used any more:
>
> for i in tkInt*.h ; do grep $i * ; done | grep include
> tkInt8.1.1.h:#include "tkIntDecls8.1.1.h"
> tkInt8.2.3.h:#include "tkIntDecls8.2.3.h"
> tkInt8.3.3.h:#include "tkIntDecls8.3.3.h"
> tkInt8.3.h:#include "tkIntDecls8.3.h"
> tkInt8.4.9.h:#include "tkIntDecls8.4.9.h"
> tkInt8.4.h:#include "tkIntDecls8.4.h"
> tkWinInt.h:#include "tkInt.h"
I don't think that any of the tkInt* stuff is needed any more.
It still needs some "internal" files on Windows and MacOSX,
specifically:
Windows:
#include <tkPlatDecls.h>
#include "tkFont.h"
MacOSX:
#include <tclMacCommonPch.h>
#include "tkMacOSX.h"
#include <tkMacOSXInt.h>
--
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev