www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/27/13:16:29

Message-ID: <3B113509.B646BD21@earthlink.net>
From: Martin Ambuhl <mambuhl AT earthlink DOT net>
X-Mailer: Mozilla 4.76 [en] (Win95; U)
X-Accept-Language: en,zh-CN,fr,de-CH,ru
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: signed or unsigned
References: <1104_990965387 AT default>
Lines: 23
Date: Sun, 27 May 2001 17:07:57 GMT
NNTP-Posting-Host: 209.246.83.138
X-Complaints-To: abuse AT earthlink DOT net
X-Trace: newsread2.prod.itd.earthlink.net 990983277 209.246.83.138 (Sun, 27 May 2001 10:07:57 PDT)
NNTP-Posting-Date: Sun, 27 May 2001 10:07:57 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net
X-Received-Date: Sun, 27 May 2001 10:06:03 PDT (newsmaster1.prod.itd.earthlink.net)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Florian Xaver wrote:
> 
> Hi!
> 
> I have a stupid question:
> 
> If I only write
> 
> int i;
> 
> Is int signed or unsigned, i think signed?

That's right.

> Where can I change it (gcc - parameters)?

In the declaration:
  unsigned int i;
or
  unsigned i;

You should not be trying to gratuitously make gcc behave in a
noncomforming way.

- Raw text -


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