This is a bug report for RHIDE 1.5.0.1 (Apr 8 2003 18:05:46) I am running MS-DOS 8.0 (Windows 95)
Important environment variables: PATH=C:\Arquivos de programas\Analog Devices\VisualDSP\System;C:\Arquivos de programas\Analog Devices\VisualDSP;C:\WINDOWS;C:\WINDOWS\COMMAND;c:\djgpp\bin;c:\Modeltech_xe\win32xoem DJGPP=c:\djgpp\djgpp.env DJDIR=c:/djgpp LFN=y INFOPATH=.;c:/djgpp/share/rhide;c:/djgpp/bin/../share/rhide;c:/djgpp/share/rhide/set;c:/djgpp/bin/../share/rhide/set;c:/djgpp/info;c:/djgpp/gnu/emacs/info;/usr/share/info;/usr/info;/usr/local/share/info;/usr/local/info;c:/djgpp/info;c:/djgpp/gnu/emacs/info LOCALEDIR= LANGUAGE= SHELL= COMSPEC=C:\WINDOWS\COMMAND.COM DJSYSFLAGS= Here is the output from a sample compilation and link for C executing: echo "int main(){return 0;}" | redir -eo gcc -Xlinker -v -Wa,-v -v -o /dev/null -x c - Reading specs from c:/djgpp/bin/../lib/gcc/djgpp/3.43/specs Configured with: /Build/gcc34/gnu/gcc-3.43/configure djgpp --prefix=/dev/env/DJDIR --disable-nls --disable-libstdcxx-pch Thread model: single gcc version 3.4.3 c:/djgpp/bin/../libexec/gcc/djgpp/3.43/cc1.exe -quiet -v -iprefix c:/djgpp/bin/../lib/gcc/djgpp/3.43/ -remap -imacros c:/djgpp/bin/../lib/gcc/djgpp/3.43/djgpp.ver - -quiet -dumpbase - -mtune=pentium -auxbase - -version -o c:/djgpp/tmp/RHpbaaaa/ccJYQB9J.s ignoring nonexistent directory "c:/djgpp/bin/../lib/gcc/djgpp/3.43/../../../../djgpp/include" ignoring nonexistent directory "c:/djgpp/djgpp/include/" #include "..." search starts here: #include <...> search starts here: c:/djgpp/bin/../lib/gcc/djgpp/3.43/include c:/djgpp/lib/gcc/djgpp/3.43/include/ c:/djgpp/include/ End of search list. GNU C version 3.4.3 (djgpp) compiled by GNU C version 3.4.3. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 <stdin>:1: error: parse error before string constant End of the sample Here is the output from a sample compilation and link for C++ executing: echo "int main(){return 0;}" | redir -eo gcc -Xlinker -v -Wa,-v -v -o /dev/null -x c++ - Reading specs from c:/djgpp/bin/../lib/gcc/djgpp/3.43/specs Configured with: /Build/gcc34/gnu/gcc-3.43/configure djgpp --prefix=/dev/env/DJDIR --disable-nls --disable-libstdcxx-pch Thread model: single gcc version 3.4.3 c:/djgpp/bin/../libexec/gcc/djgpp/3.43/cc1plus.exe -quiet -v -iprefix c:/djgpp/bin/../lib/gcc/djgpp/3.43/ -remap -imacros c:/djgpp/bin/../lib/gcc/djgpp/3.43/djgpp.ver - -quiet -dumpbase - -mtune=pentium -auxbase - -version -o c:/djgpp/tmp/RHpbaaaa/ccvzYlTZ.s ignoring nonexistent directory "c:/djgpp/bin/../lib/gcc/djgpp/3.43/../../../../djgpp/include" ignoring nonexistent directory "c:/djgpp/djgpp/include/" #include "..." search starts here: #include <...> search starts here: c:/djgpp/bin/../lib/gcc/djgpp/3.43/../../../../include/cxx/3.43 c:/djgpp/bin/../lib/gcc/djgpp/3.43/../../../../include/cxx/3.43/djgpp c:/djgpp/bin/../lib/gcc/djgpp/3.43/../../../../include/cxx/3.43/backward c:/djgpp/bin/../lib/gcc/djgpp/3.43/include c:/djgpp/include/cxx/3.43/ c:/djgpp/include/cxx/3.43/djgpp/ c:/djgpp/include/cxx/3.43/backward/ c:/djgpp/lib/gcc/djgpp/3.43/include/ c:/djgpp/include/ End of search list. GNU C++ version 3.4.3 (djgpp) compiled by GNU C version 3.4.3. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 <stdin>:1: error: expected unqualified-id before string constant <stdin>:1: error: expected `,' or `;' before string constant End of the sample My problem is the following: ============================ I am trying to compile this program: save as x.cpp struct pixel { int x, y; } ; struct caractere { int altura_cima, altura_baixo, largura, n_pixeis; struct pixel pixeis[]; } xx={1,2,3,4,{{1,2},{77,66},{98,45}}}; -- Summary: Nested struct initialization error Product: gcc Version: 3.4.3 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ggaspa at rms dot ind dot br CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19981