delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/07/11:38:54

From: pavenis AT lanet DOT lv
To: "Alex Oleynikov" <alex AT compuweigh DOT com>, djgpp AT delorie DOT com
Date: Thu, 7 Jun 2001 18:37:46 +0300
MIME-Version: 1.0
Subject: Re: DJGPP on PTS-DOS run problem
Message-ID: <3B1FC9FA.3572.1E3209A@localhost>
In-reply-to: <004001c0ef5c$b77df990$1400a8c0@alex2000>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 7 Jun 2001, at 10:18, Alex Oleynikov wrote:

> Looks like you were right here - this little program didn't go through...
> I've attached the crash dump of the test program you wrote (NAMETEST.EXE)

Crash dump is useless in this case as it's from failed assert().  Usefull 
information is that assert() failed. You may try to to compile also
src/libc/posix/unistd/access.c from djlsr203.zip (and possibly some 
other sources from the same archive) with debug information and try 
to understand what happens (somebody with access to PTS-DOS 
should do that)

> 
> Small question: what does this line of code do?
> ...
> (void) argc;
> ...

It simply easy way how to silence compiler not to warn about unused 
parameters with paranoid warning options (like -W -Wall) and nothing 
more. It doesn't generate any code

Andris

- Raw text -


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