* udev compile problem: dlist
@ 2004-12-20 17:12 Thomas Strösslin
2004-12-20 19:10 ` Tobias Klauser
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Strösslin @ 2004-12-20 17:12 UTC (permalink / raw)
To: linux-hotplug
Hi,
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)
It does compile if you move dlist_start(list) below all declarations. I
actually don't understand how it could compile on any system...
cheers,
tom
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: udev compile problem: dlist
2004-12-20 17:12 udev compile problem: dlist Thomas Strösslin
@ 2004-12-20 19:10 ` Tobias Klauser
0 siblings, 0 replies; 2+ messages in thread
From: Tobias Klauser @ 2004-12-20 19:10 UTC (permalink / raw)
To: linux-hotplug
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-12-20 19:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-20 17:12 udev compile problem: dlist Thomas Strösslin
2004-12-20 19:10 ` Tobias Klauser
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).