[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Dependencies for c++/demo seem to be underspecified
From: |
Dmitri Gribenko |
Subject: |
Dependencies for c++/demo seem to be underspecified |
Date: |
Wed, 10 Apr 2013 19:01:33 +0300 |
Hello,
Sometimes during parallel build I encounter an error:
make[1]: Entering directory
`/home/easybuild/.local/easybuild/build/ncurses/5.9-20130406/cgoolf-1.1.6/ncurses-5.9-20130406/c++'
cp ./etip.h.in etip.h
sh ./edit_cfg.sh ../include/ncurses_cfg.h etip.h
compiling demo (obj_s)
substituting autoconf'd values from ../include/ncurses_cfg.h into etip.h
... CPP_HAS_PARAM_INIT 0
... CPP_HAS_STATIC_CAST 0
... ETIP_NEEDS_MATH_EXCEPTION 0
... ETIP_NEEDS_MATH_H 0
... HAVE_BUILTIN_H 0
... HAVE_GPP_BUILTIN_H 0
... HAVE_GXX_BUILTIN_H 0
... HAVE_IOSTREAM 1
In file included from ./demo.cc:43:
In file included from ../c++/cursesm.h:39:
../c++/cursesp.h:89:31: error: expected ';' at end of declaration list
void OnError (int err) const THROW2(NCursesException const,
NCursesPanelException)
^
;
In file included from ./demo.cc:43:
../c++/cursesm.h:56:38: error: expected ';' at end of declaration list
inline void OnError (int err) const THROW2(NCursesException const,
NCursesMenuException) {
^
;
../c++/cursesm.h:164:7: error: no matching constructor for
initialization of 'NCursesMenuItem'
: NCursesMenuItem (p_name, p_descript),
^ ~~~~~~~~~~~~~~~~~~
../c++/cursesm.h:49:22: note: candidate constructor (the implicit
default constructor) not viable: requires 0 arguments, but 2 were
provided
class NCURSES_IMPEXP NCursesMenuItem
^
../c++/cursesm.h:49:22: note: candidate constructor (the implicit copy
constructor) not viable: requires 1 argument, but 2 were provided
... HAVE_TYPEINFO 1
../c++/cursesm.h:256:38: error: expected ';' at end of declaration list
inline void OnError (int err) const THROW2(NCursesException const,
NCursesMenuException) {
^
;
../c++/cursesm.h:604:7: error: no matching constructor for
initialization of 'NCursesMenuItem'
: NCursesMenuItem (p_name, p_descript) {
^ ~~~~~~~~~~~~~~~~~~
../c++/cursesm.h:49:22: note: candidate constructor (the implicit
default constructor) not viable: requires 0 arguments, but 2 were
provided
class NCURSES_IMPEXP NCursesMenuItem
^
../c++/cursesm.h:49:22: note: candidate constructor (the implicit copy
constructor) not viable: requires 1 argument, but 2 were provided
In file included from ./demo.cc:44:
../c++/cursesf.h:64:37: error: expected ';' at end of declaration list
inline void OnError(int err) const THROW2(NCursesException const,
NCursesFormException) {
^
;
../c++/cursesf.h:112:38: error: expected ';' at end of declaration list
... HAVE_VALUES_H 0
... IOSTREAM_NAMESPACE 1
Clearly, etip.h generation and compiling demo.cc are running
concurrently. demo.cc should depend on etip.h
Dmitri Gribenko
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <address@hidden>*/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Dependencies for c++/demo seem to be underspecified,
Dmitri Gribenko <=