bug-ddd
[Top][All Lists]
Advanced

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

Error compiling ddd 3.2.92


From: Edward C Morgan
Subject: Error compiling ddd 3.2.92
Date: Wed, 06 Dec 2000 17:12:54 -0500

In file ddd/ddd.C, template is a reserved word in C++.  I'm currently getting
an error:
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/dt/include -isystem
/sopt/X11/X11R6/include    -DNDEBUG -O2 -g -W -Wall -trigraphs  -c ddd.C
ddd.C:3077: parse error before `template'
make[1]: *** [ddd.o] Error 1
make[1]: Leaving directory `/home/ecm/ddd-3.2.92/ddd'
make: *** [all-recursive] Error 1


This is with gcc version 2.95.2
The offending lines are:

        #if HAVE_MKSTEMP && !HAVE_MKSTEMP_DECL
        extern "C" int mkstemp(char *template);
        #endif

should be changed to:

        #if HAVE_MKSTEMP && !HAVE_MKSTEMP_DECL
        extern "C" int mkstemp(char *tmplate);
        #endif




-- 
Edward Morgan     address@hidden
Do not boast about tomorrow, For you
do not know what a day may bring forth.



reply via email to

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