www.digitalmars.com         C & C++   DMDScript  

c++.beta - DMC 8.39.1 goes into deadlock or endless loop state

reply "Heinz-Peter Nüttgens" <hnuettgens t-online.de> writes:
Hello,

in the included project there is a C-file which manages to freeze
the whole IDDE at the beginning of the compilation.

I have to use the task-manager to kill the IDDE.

Don't bother about the missing definitions, prototypes and header files.
Even if I include everything correctly this behaviour occurs. I just wanted
to create a tiny example.

I' working with Windows XP SP1 and the latest updates. The version of
scppn.exe is 8.39.1n.

There must be something in that file which confuses the compiler.

Regards

Heinz-Peter Nüttgens
Dec 14 2003
parent reply "Walter" <walter digitalmars.com> writes:
Does it also cause the command line compiler to fail?

"Heinz-Peter Nüttgens" <hnuettgens t-online.de> wrote in message
news:brhn7u$1utn$1 digitaldaemon.com...
 Hello,

 in the included project there is a C-file which manages to freeze
 the whole IDDE at the beginning of the compilation.

 I have to use the task-manager to kill the IDDE.

 Don't bother about the missing definitions, prototypes and header files.
 Even if I include everything correctly this behaviour occurs. I just
wanted
 to create a tiny example.

 I' working with Windows XP SP1 and the latest updates. The version of
 scppn.exe is 8.39.1n.

 There must be something in that file which confuses the compiler.

 Regards

 Heinz-Peter Nüttgens
Dec 14 2003
next sibling parent "Heinz-Peter Nüttgens" <hnuettgens t-online.de> writes:
Hello,

no, a batch file like this

c:\dm\bin\sc.exe -cpp -r -J -mn -C -WA -5 -a1 -c -gf -Ie:\prozess\iatinclu -
oerrtst.obj errtst.c

works and produces a correct object file.

Only the IDDE hangs, but I have to correct: the task manager isn't the only
way to leave the IDDDE.
It's also possible to "double-click" the title bar icon on the upper left to
shut the IDDE. But a mouse click
on the title bar turns all menus in the different windows of the IDDE into
bright white!


"Walter" <walter digitalmars.com> schrieb im Newsbeitrag
news:brilma$9t7$3 digitaldaemon.com...
 Does it also cause the command line compiler to fail?
Dec 15 2003
prev sibling parent reply "Heinz-Peter Nüttgens" <hnuettgens t-online.de> writes:
Hello,

I found an easy way to reproduce the failure:

Just put the next line into a C file, include it in a project a try
to make it via the IDDE:

BOOL  keypad_break;

If you replace BOOL by int or long it works. The same behaviour occurs, if
you replace
BOOL by WORD or LONG ( all are typedefs in my project BUT not included
here ).

Perhaps this might help ??!!

Heinz-Peter
Dec 15 2003
parent "Walter" <walter digitalmars.com> writes:
I think I know what the problem is. In the meantime, just go back to the
8.38 version of \dm\bin\scppnd.dll.

"Heinz-Peter Nüttgens" <hnuettgens t-online.de> wrote in message
news:brjrke$22i8$1 digitaldaemon.com...
 Hello,

 I found an easy way to reproduce the failure:

 Just put the next line into a C file, include it in a project a try
 to make it via the IDDE:

 BOOL  keypad_break;

 If you replace BOOL by int or long it works. The same behaviour occurs, if
 you replace
 BOOL by WORD or LONG ( all are typedefs in my project BUT not included
 here ).

 Perhaps this might help ??!!

 Heinz-Peter
Dec 15 2003