Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2003 20:28:37 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        current@FreeBSD.org
Subject:   Re: Fixing gcc 3.3 compile failures
Message-ID:  <20030718032837.GA62296@rot13.obsecurity.org>
In-Reply-To: <20030718025200.GA36893@rot13.obsecurity.org>
References:  <20030718025200.GA36893@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 17, 2003 at 07:52:00PM -0700, Kris Kennaway wrote:

> Most of the new compile failures are caused by 3 or 4 types of failure
> mode (all of which have to do with stricter standards compliance in
> the new compiler suite).  I haven't yet looked at how to fix most of
> them: if you figure out a patch for a class of failures, please post
> it in response to this email so we can all see how to do it.

http://bento.freebsd.org/errorlogs/i386-5-latest/nap-1.5.1.log
=2E..
title.h:7:1: missing terminating " character
=2E..

A fix is similar to this:

--- src/nap.c.orig	Thu Jul 17 20:21:08 2003
+++ src/nap.c	Thu Jul 17 20:22:02 2003
@@ -542,21 +542,20 @@
=20
   if (!getval("connection")) {
     if (!info.daemon) {
-      wp(NULL, "
-          Connection | Number
-          -------------------
-          Unknown    |  0
-          14.4       |  1
-          28.8       |  2
-          33.6       |  3
-          56.7       |  4
-          64K ISDN   |  5
-          128K ISDN  |  6
-          Cable      |  7
-          DSL        |  8
-          T1         |  9
-          T3 or >    | 10
-\n");
+      wp(NULL, "\
+          Connection | Number\n\
+          -------------------\n\
+          Unknown    |  0\n\
+          14.4       |  1\n\
+          28.8       |  2\n\
+          33.6       |  3\n\
+          56.7       |  4\n\
+          64K ISDN   |  5\n\
+          128K ISDN  |  6\n\
+          Cable      |  7\n\
+          DSL        |  8\n\
+          T1         |  9\n\
+          T3 or >    | 10\n");
       wp(NULL, "How fast is your internet connection?\n");
       wp(NULL, "Please choose 0--10 from the chart: [4] ");
       ans =3D nap_getline(stdin);

Be careful not to introduce or remove any newlines when you patch
this.

Kris

--qMm9M+Fa2AknHoGS
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/F2lkWry0BWjoQKURAnGWAJ9WrYPBFg5BWXBUpni8rfIjbJvzhgCfQnh4
ntis+ZWFAqtgPr9Ma1AUsCo=
=0bNT
-----END PGP SIGNATURE-----

--qMm9M+Fa2AknHoGS--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030718032837.GA62296>