Re: Coding style warnings
Re: Coding style warnings
- Subject: Re: Coding style warnings
- From: David Ewing <email@hidden>
- Date: Mon, 20 Jun 2005 16:33:43 -0600
There's nothing specific in Xcode. You can try building with jikes,
which has a bunch of warning groups (look at the +P flag). Of course,
if you're moving to Java 1.5 soon, that won't help for long as jikes
doesn't support much of the new stuff in the 1.5 language (and it
doesn't look like the support is coming any time soon).
Dave
On Jun 16, 2005, at 7:53 PM, Zacharias J. Beckman wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
I'm wondering if anybody has information on generating coding style
warnings in XCode (both for Objective-C and for Java)? The kind of
warnings I'm looking for go beyond the typical compiler warnings.
Specifically, most of our team uses Eclipse for Java work. Being
obstinate I'd rather use XCode. One of the things I am missing out
on, then, are warnings such as these, generated by the Eclipse IDE:
Document.java: The import java.util.Arrays is never used
Document.java: The private member documentCount is never used
Of course turning up gcc warnings helps, but it doesn't catch as much
as the Eclipse engine. Also, once we start using javac 1.5 we can add
- -Xlint, but that won't really do much -- and anyhow, I'm really
after
a more comprehensive solution. Are there any XCode plugins that
search for "poor practice" coding issues like the above and report
them as warnings?
- --
Zacharias J. Beckman – email@hidden – 805-924-1772 (cell)
Far better it is to dare mighty things, to win glorious triumphs,
even though checkered by failure, than to take rank with those poor
spirits who neither enjoy nor suffer much, because they live in the
gray twilight that knows neither victory nor defeat. – Theodore
Roosevelt
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.1 (Build 2185)
iQEVAwUBQrItN7k71dIcG+SrAQiT8ggAv9mODyT799GsEjGpT67JU00ZEdCeBdIL
+r7OVPvAAwSBfkSMPhsmzhQ6xBz9kECrP4A/EZEwqLTq7xPWOnuVNfyTaDaW7/om
WZb5QoB4hJeatycMOyqwksOGeZ1WDeQInz+MEOvopkv62u246+q8pwwxqKBmdpOs
xoqG5LO1Km2qE6MRD+MFCayuAW52Mx8wRn7ji3ytfPPAkknYpbPbsQ5o5JQDwxvP
ZsMcGciEaUkpT1L+Yho21o8Y46Tt62+ax9rM9hsVy2/muTzzhyc+CnDIVzsqEYmu
vrbrG0O9S1Ts6kAh0svR1zFGVvYsZUSPU7zbJ4Mpcoz/hmjw8/U3qA==
=Aqei
-----END PGP SIGNATURE-----
<PGPexch.htm>
<PGPexch.htm.sig>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden