I have the following error when I try to compile a program.
I even copied one DE star program to a new one with different name.
The original one can be compiled in a universe to do something, while
the new one cannot be compiled due to the following errors.
I deleted every programming part and left only
defstart{
name { NEWNAME }
domain { DE }
hinclude { "Message.h", <stdio.h>, <string.h>, "DataStruct.h"}
private{}
setup{}
go{}
}
It still gives the exactly same message.
Our Ptolemy software has been installed by our computer operator, so I
don't know exactly what has been changed. But I guess it is version 0.7.1.
Could you give me some suggestion?
Thanks in advance.
Hyeran
===========Error Message==========
In file included from /soft/ptolemy/src/kernel/IntState.h:8,
from /soft/ptolemy/src/domains/de/kernel/DEStar.h:43,
from /RFAIR/sim-ssa/src/DEINFO.h:15,
from /RFAIR/sim-ssa/src/DEINFO.cc:8:
/soft/ptolemy/src/kernel/State.h:236: ANSI C++ forbids declaration
`mergeFileContents' with no type
/soft/ptolemy/src/kernel/State.h:237: ANSI C++ forbids declaration
`sendToInterpreter' with no type
/soft/ptolemy/src/kernel/State.h:238: ANSI C++ forbids declaration
`getParameterName' with no type
In file included from /soft/ptolemy/src/domains/de/kernel/DEPortHole.h:52,
from /soft/ptolemy/src/domains/de/kernel/DEStar.h:44,
from /RFAIR/sim-ssa/src/DEINFO.h:15,
from /RFAIR/sim-ssa/src/DEINFO.cc:8:
/soft/ptolemy/src/kernel/PortHole.h:346: ANSI C++ forbids declaration
`setPortIndices' with no type
In file included from /soft/ptolemy/src/domains/de/kernel/DEStar.h:46,
from /RFAIR/sim-ssa/src/DEINFO.h:15,
from /RFAIR/sim-ssa/src/DEINFO.cc:8:
/soft/ptolemy/src/kernel/Star.h:109: ANSI C++ forbids declaration
`setStarIndices' with no type
----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]