Hi,
I'm using Slackware 11.0 and when i try to compile ddd 3.3.1 i get the following errors:
Code:
ddd.C: In function `int main(int, char**)':
ddd.C:2033: error: `ostrstream' was not declared in this scope
ddd.C:2033: error: expected `;' before "messages"
ddd.C:2036: error: `messages' was not declared in this scope
ddd.C:2033: warning: unused variable 'ostrstream'
ddd.C: In function `void ddd_check_version()':
ddd.C:3247: error: `ostrstream' was not declared in this scope
ddd.C:3247: error: expected `;' before "msg"
ddd.C:3248: error: `msg' was not declared in this scope
ddd.C:3247: warning: unused variable 'ostrstream'
ddd.C: At global scope:
ddd.C:3358: error: `ostrstream' does not name a type
ddd.C:3359: error: `devnull' was not declared in this scope
ddd.C: In function `void init_dddlog()':
ddd.C:3363: error: `devnull' was not declared in this scope
ddd.C:3363: warning: unused variable 'devnull'
ddd.C: In function `bool lock_ddd(_WidgetRec*, LockInfo&)':
ddd.C:3751: error: `ostrstream' was not declared in this scope
ddd.C:3751: error: expected `;' before "os"
ddd.C:3752: error: `os' was not declared in this scope
ddd.C:3751: warning: unused variable 'ostrstream'
ddd.C: In function `void report_languageHP(Agent*, void*, void*)':
ddd.C:5614: error: `ostrstream' was not declared in this scope
ddd.C:5614: error: expected `;' before "os"
ddd.C:5615: error: `os' was not declared in this scope
ddd.C:5614: warning: unused variable 'ostrstream'
ddd.C: In function `void setup_version_info()':
ddd.C:7212: error: `ostrstream' was not declared in this scope
ddd.C:7212: error: expected `;' before "os"
ddd.C:7213: error: `os' was not declared in this scope
ddd.C:7212: warning: unused variable 'ostrstream'
ddd.C: In function `void setup_auto_command_prefix()':
ddd.C:7656: error: `ostrstream' was not declared in this scope
ddd.C:7656: error: expected `;' before "key"
ddd.C:7657: error: `key' was not declared in this scope
ddd.C:7656: warning: unused variable 'ostrstream'
ddd.C: At global scope:
ddd.C:5595: warning: 'std::ostream& operator<<(std::ostream&, ProgramLanguage)' defined but not used
make[1]: *** [ddd.o] Error 1
make[1]: Leaving directory `/home/user/src/ddd-3.3.1/ddd'
make: *** [all-recursive] Error 1
After doing some googling it seems to be really a compiler problem. The version of gcc i have is 3.4.6. Anyone else having this problem ?