delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2010/09/27/00:45:19

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Jim Michaels <jmichae3 AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: bug in djgpp TR1
Date: Sun, 26 Sep 2010 21:21:53 -0700 (PDT)
Organization: http://groups.google.com
Lines: 24
Message-ID: <037080c2-361c-4550-88f7-333cfe988b78@p37g2000pra.googlegroups.com>
NNTP-Posting-Host: 24.20.109.21
Mime-Version: 1.0
X-Trace: posting.google.com 1285561313 3444 127.0.0.1 (27 Sep 2010 04:21:53 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Mon, 27 Sep 2010 04:21:53 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: p37g2000pra.googlegroups.com; posting-host=24.20.109.21; posting-account=05hOMwoAAAB6R8xtiQKzEljSMzgOhVF1
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10)
Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729),gzip(gfe)
Bytes: 1696
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I took a look at http://www.cgsecurity.org/wiki/Compile_DOS
I can't patch djgpp.
but I can try to use what's there.

#include <tr1/stdint.h>
#include <stdio.h>
using namespace std;
int main(void) {
    uint32_t x=78346UL;
    printf("%lu", x);
    return 0;
}

test.cpp: In function 'int main()':
test.cpp:5: error: 'uint32_t' was not declared in this scope
test.cpp:5: error: expected ';' before 'x'
test.cpp:6: error: 'x' was not declared in this scope


this shouldn't be.  I don't see what I am possibly doing wrong.

because of this, the major changes to my disk library spews out
volumes of errors.
Jim Michaels

- Raw text -


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