From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Klauser Date: Mon, 20 Dec 2004 19:10:26 +0000 Subject: Re: udev compile problem: dlist Message-Id: <200412202010.34425.tklauser@access.unizh.ch> MIME-Version: 1 Content-Type: multipart/mixed; boundary="nextPart2433733.mMy1QvERTV" List-Id: References: <41C707E8.9040007@2wire.ch> In-Reply-To: <41C707E8.9040007@2wire.ch> To: linux-hotplug@vger.kernel.org --nextPart2433733.mMy1QvERTV Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi On Monday 20 December 2004 18:12, Thomas Str=F6sslin 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 n= ot=20 supported by Suse anymore? This system is built to run a 2.4 Kernel so that= =20 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=20 compilers. Cheers, Tobias --nextPart2433733.mMy1QvERTV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBBxyOqcrwOfjpEVSARArQmAJ91weI/pBV4x+q+SOH9egG+gZlQDQCfWWNw Xs0BJlRoPuvqS6S/N7+tblc= =9MCE -----END PGP SIGNATURE----- --nextPart2433733.mMy1QvERTV-- ------------------------------------------------------- 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