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

Bug#196058: xutils: Error in file /usr/X11R6/lib/X11/config/X11.tmpl

Package: xutils
Version: 4.2.1-6
Severity: normal

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux miles 2.4.20 #1 Sat Apr 26 14:53:11 EST 2003 ppc GNU/Linux

Versions of the packages xutils depends on:
ii  libc6          2.3.1-16       GNU C Library: Shared libraries and Timezone
ii  libncurses5    5.3.20030510-1 Shared libraries for terminal handling
ii  xfree86-common 4.2.1-6        X Window System (XFree86) infrastructure
ii  zlib1g         1.1.4-11       compression library - runtime

On some source code using an Imakefile:

    erikd@miles > xmkmf 
    mv -f Makefile Makefile.bak
    imake -DUseInstalled -I/usr/X11R6/lib/X11/config
    In file included from /usr/X11R6/lib/X11/config/Imake.tmpl:1915,
                     from Imakefile.c:38:
    /usr/X11R6/lib/X11/config/X11.tmpl:3148: warning: extra tokens at end of #ifndef directive

Looking at the file (line 3148):

    3148 : #ifndef MakeSimpleDoc(file,srcs)
    3149 : #define MakeSimpleDoc(file,srcs) MakeDepSimpleDoc(file,srcs,srcs)
    3150 : #endif

Changing line 3148 to:

	#ifndef MakeSimpleDoc

fixes the error.

Reply to: