delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/06/30/17:18:23

From: "News Reader" <nospam AT aol DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: conio.h bug?
Date: Mon, 30 Jun 2003 23:03:20 +0200
Organization: UTA/netway (Customer)
Lines: 36
Message-ID: <bdq8md$hjv$1@newsreader1.netway.at>
NNTP-Posting-Host: pat-ei.lucent.wellcom.at
X-Trace: newsreader1.netway.at 1057007117 18047 195.230.174.18 (30 Jun 2003 21:05:17 GMT)
X-Complaints-To: abuse AT netway DOT at
NNTP-Posting-Date: 30 Jun 2003 21:05:17 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Probable bug related to "conio.h" header file:


1) Compiler error received:

  In file included from test.c:1:
  c:/ab/djgpp/include/conio.h:74: error:
    nonnull argument references non-pointer operand (arg 1, operand 1)


2) Source causing compile error:

  #include <conio.h>

  int main()
  {
    return 0;
  }


3) Line 74 in header file:

  int gettext(int _left, int _top, int _right, int _bottom, void *_destin);

  Remark: The error does not occur if line 74 in "conio.h" is disabled.


4) System used:
    WinXP, DJGPP with gcc3.3


Any clues?

Thanks.


- Raw text -


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