installing ddd in strclass.C 1546 EOF not declared
Mario De Poli <[email protected]> Tue, 9 Feb 2016 12:14:39 +0100
| Newsgroups | gmane.comp.debugging.ddd.general |
|---|---|
| Message-ID | <[email protected]> |
Dear Sirs I am compelled to use Open Motif instead of Lesstif, so I tried to install DDD from source. Doing "sudo make install" I obtained the following: g++ -DHAVE_CONFIG_H -I. -I./.. -O2 -g -Wall -W -Wwrite-strings -trigraphs -MT strclass.o -MD -MP -MF .deps/strclass.Tpo -c -o strclass.o strclass.C strclass.C: In function ‘std::istream& operator>>(std::istream&, string&)’: strclass.C:1546:35: error: ‘EOF’ was not declared in this scope strclass.C:1559:15: error: ‘EOF’ was not declared in this scope strclass.C: In function ‘int readline(std::istream&, string&, char, int)’: strclass.C:1589:35: error: ‘EOF’ was not declared in this scope strclass.C:1602:15: error: ‘EOF’ was not declared in this scope make[1]: *** [strclass.o] Error 1 make[1]: Leaving directory `/media/users/manager/ddd-3.3.12/ddd' make: *** [install-recursive] Error 1 the OS is ubuntu 12.4 LT alwais updated Any Suggestion? Thank You in advance Mario De Poli