delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/09/06/12:47:37

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=date:from:to:subject:message-id:in-reply-to:references:mime-version
:content-transfer-encoding;
bh=7crf8NDjEXGzleQ36Xe9fj8FLJ33ENHG/MwptMGtNws=;
b=uVcUELFC0InymXszTbzgWsTS0DyHkhg9XTw3GvaFtgeMuwR4zMqwY6jijzhHj2F0mf
OgXclDQqW1r4MU5LxbRtBiGfHDUSWGuEKJsVT/JCe03grZytv3+iu+shjPDcc8iqehPh
JpVXKsseYAXYEQ17LaF+e6p64H4smZqGG1jcQJf+XPxcJn8kKtDuD3k6vn+UQOmyMUtG
ykJaOoFdFBpDzaqLhHjP9hKaEB9+X50MZSqhQBLKo0PrfC7kagyoI67cDJpQFRlKngW8
NNjj6wBpjPBNjJAKQ5uwaYUCUCk/4/okfOGICXGlcu5GArYku9I9vLa/PJaWdYCr2nK2
Xn/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to
:references:mime-version:content-transfer-encoding;
bh=7crf8NDjEXGzleQ36Xe9fj8FLJ33ENHG/MwptMGtNws=;
b=FdzhjUb+L/K42cBoxOBBTdeYEKBXBBf+Nl0ve0d9dY77Y9JyLIDLusO+/Wth0zNFol
dcEE7vLH5Uherc3ueN73Oqpwz0ys0KKXo8dT5MNzqV1e0ynNFopQET8zE7VMfpN/5kqs
s7NE8yKSQp87utp/VudM/bgmLGh/OsfHRPWDvhtiL8yyZbHtcEsqE2LE0IPf2R+viH3z
7ngtlBf1G40rXuzuTYxZBJVkMowj/m5dqyF3abyFOuxVCe7TidSZOPQkbAeuGZCNVdMx
83v5Fx1AFl0tizPEUq/UZb6/cAGUQBqWpcISWfCRsaNT1v+/Jhxri3G5Jqag6evGHonZ
8qwQ==
X-Gm-Message-State: AE9vXwMbJ0r2UT3BwpZN1H+QdbVdVCemF9trZ42oVixHiJsBzWZ8b2/H26h2kSLy1GN/lA==
X-Received: by 10.194.39.232 with SMTP id s8mr9789807wjk.142.1473180382922;
Tue, 06 Sep 2016 09:46:22 -0700 (PDT)
Date: Tue, 6 Sep 2016 18:46:21 +0200
From: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] pcb bugreport: ID type
Message-Id: <20160906184621.6f9d81470338acf0e7b5eada@gmail.com>
In-Reply-To: <57CEEF82.4060208@xs4all.nl>
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1609060529360 DOT 7286 AT igor2priv>
<57CEEF82 DOT 4060208 AT xs4all DOT nl>
X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> gedau AT igor2 DOT repo DOT hu wrote:
> > Hi all,
> >
> > in the 20140316 release of mainline this bug is still present: 
> > ANYOBJECTFIELDS has the ID field as long int, but create.c counts IDs 
> > of new objects in an int.
> >
> > (This won't cause problems on the usual systems (with >=32 bit ints), 
> > but the C standard permits int to be 16 bits wide in which case 
> > create.c would start reusing IDs after 32767 objects. In the same time 
> > there seems to be no drawback using long int in create.c)
> >
> > I propose using long int ID in create.c. Fixed in pcb-rnd in r2938.
> >
> > Regards,
> >
> > Igor2
> >
> >
> >
> Hello Igor2,
> 
> Thanks, fix is now committed in master.
> 
> Kind regards,
> 
> Bert Timmerman.

I am pretty 32767 objects would be a limitation sooner or later.

- Raw text -


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