NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/46864: compile warnings in 5_1_STABLE in sys/dev/pci_subr.c



Hi again,

setting "-V MKLINT=no" on the command line of build.sh eliminates the misleading warning messages.

Thanks for the hint.

My suggestion to change the default mode in respect to running lint or not and (perhaps) adding a documented commandline option to the build.sh script that changes the default setting, is some kind of religion question. I would prefere to run "standard" builds without lint if it produces misleading messages - e.g. if cross-building the sources (as I'm dooing for i386 on an amd64 system) lint doesn't take care about this fact as far as I can see.

Neverless, I think you can close this report.

Best regards

W. Stukenbrock

Christos Zoulas wrote:

The following reply was made to PR kern/46864; it has been noted by GNATS.

From: christos%zoulas.com@localhost (Christos Zoulas)
To: Wolfgang Stukenbrock <wolfgang.stukenbrock%nagler-company.com@localhost>, gnats-bugs%NetBSD.org@localhost Cc: kern-bug-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost
Subject: Re: kern/46864: compile warnings in 5_1_STABLE in sys/dev/pci_subr.c
Date: Mon, 27 Aug 2012 07:36:05 -0400

 On Aug 27, 12:53pm, wolfgang.stukenbrock%nagler-company.com@localhost 
(Wolfgang Stukenbrock) wrote:
 -- Subject: Re: kern/46864: compile warnings in 5_1_STABLE in sys/dev/pci_sub
| I've just running the build.sh script with some options for the | directories to compile everything.
 | I'm not shure if this was reported before.
| | What is the official way to compile the sources without running lint ???
 | I don't remember an option on the command line of build.sh for this.
| | It is not very usefull to for "normal" users to be confused by "some" | lint error messages that should be simply ignored. | Perhaps the "default" should be changed to "do not run lint" and can be | turned on if desired by developers if they want it. | | W. Stukenbrock MKLINT=no christos



--


Dr. Nagler & Company GmbH
Hauptstraße 9
92253 Schnaittenbach

Tel. +49 9622/71 97-42
Fax +49 9622/71 97-50

Wolfgang.Stukenbrock%nagler-company.com@localhost
http://www.nagler-company.com


Hauptsitz: Schnaittenbach
Handelregister: Amberg HRB
Gerichtsstand: Amberg
Steuernummer: 201/118/51825
USt.-ID-Nummer: DE 273143997
Geschäftsführer: Dr. Martin Nagler, Dr. Dr. Karl-Kuno Kunze




Home | Main Index | Thread Index | Old Index