www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2016/05/04/21:15:12

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Wiktor S. (wswiktorSP AT Mpoczta DOT fm) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP and WIndows 10 32 bit
Date: Thu, 5 May 2016 03:04:44 +0200
Organization: INTERIA.PL S.A.
Lines: 60
Message-ID: <nge67d$jtd$1@usenet.news.interia.pl>
References: <57265177 DOT 1090701 AT iki DOT fi>
NNTP-Posting-Host: user-164-127-218-206.play-internet.pl
Mime-Version: 1.0
X-Trace: usenet.news.interia.pl 1462410285 20397 164.127.218.206 (5 May 2016 01:04:45 GMT)
X-Complaints-To: usenet AT firma DOT interia DOT pl
NNTP-Posting-Date: Thu, 5 May 2016 01:04:45 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
Bytes: 2273
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> later versions installed from binaries are not OK. Try compiling
> "Hello World" style program which uses <iostream> repeatedly under
> WIn10 to get random failures. I'm getting them in average once per hundred 
> or several hundreds of compiles. In other
> test I only repeatedly run preprocessor and compared it outputs.


On a 150 MB FAT16 ramdisk I installed the following zips:

bnu226br3
gcc610b
gpp610b
djdev205

and wrote the following BAT file:

==================
@echo off
set /a i=1

:loop
echo iteration %i%
gpp test.cpp -o test.exe
if errorlevel 1 goto fail
set /a i=i+1
goto loop

:fail
echo failed at iteration %i%

==================


test.cpp is a simple hello world:

==================
#include <iostream>
using namespace std;

int main()
{
    cout << "Hello, world!" << endl;
    return 0;
}
==================

On the first trial, it failed at 7th iteration with bogus compilation error 
inside iostreams.

Consecutive trials seem to work longer and longer: 8, 14, 36, 84.

So I restarted the machine. Again, failure on 5th attempt.
That's nowhere near "several hundreds" you are getting.




-- 
Wiktor S.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019