linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tobias Klauser <tklauser@access.unizh.ch>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev compile problem: dlist
Date: Mon, 20 Dec 2004 19:10:26 +0000	[thread overview]
Message-ID: <200412202010.34425.tklauser@access.unizh.ch> (raw)
In-Reply-To: <41C707E8.9040007@2wire.ch>

[-- Attachment #1: Type: text/plain, Size: 746 bytes --]

Hi

On Monday 20 December 2004 18:12, Thomas Strösslin wrote:
> I failed to compile udev-050.
> in dlist.c, the function dlist_sort_custom() contains:
>    dlist_start(list);
>    struct dlist *listsource, *listdest, *swap;
>    etc.
>
> This does not compile on my system (SuSE 7.3, gcc 2.95.3)

Do you mind if I ask why you're using a nearly 3 year old system which is not 
supported by Suse anymore? This system is built to run a 2.4 Kernel so that 
may be a problem too.

> It does compile if you move dlist_start(list) below all declarations. I
> actually don't understand how it could compile on any system...

AFAIK, C99 allows this. The support for C99 is very limited in 2.95 series gcc 
compilers.

Cheers, Tobias

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2004-12-20 19:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-20 17:12 udev compile problem: dlist Thomas Strösslin
2004-12-20 19:10 ` Tobias Klauser [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200412202010.34425.tklauser@access.unizh.ch \
    --to=tklauser@access.unizh.ch \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).