473,406 Members | 2,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

PC-Lint

Tom
I've been using Gimpels PC-Lint static analysis tool (which seems to be
extremely good value for money) but I've come up against a couple of
problems, although the second is more of a wondering...

1) I'm trying to integrate Lint with the IAR ARM compiler and it will
successfully summon Lint but lint itself either reports "failure to open
module c:\Lint" (with the initial directory set to the current one) or it
says "failure to open module std.lnt" if I remove the -i"C:\Lint" argument.
I suspect this is because the path to C:\lint is not properly working but
I'm using XP and I haven't worked out how to set paths because they don't
seem to work like the good old days of win98. Or perhaps it's something else
entirely. It does work when I invoke Lint from the Keil uVision compiler.

2) Does anyone have an optimised Lint configuration that they feel gives the
right amount of important warnings but ignores the less important ones? I
realise that this is pretty subjective but I'd welcome peoples' opinions.
The code to verify will be part of the display system of an industrial
control unit but is not particularly safety critical, although it does
interface with a system that is.
Aug 12 '05 #1
1 2874
Off-topic. As I am posting from clc -> f'up2clc

Tom wrote:
I've been using Gimpels PC-Lint static analysis tool (which seems to be
extremely good value for money) but I've come up against a couple of
problems, although the second is more of a wondering...

1) I'm trying to integrate Lint with the IAR ARM compiler and it will
successfully summon Lint but lint itself either reports "failure to open
module c:\Lint" (with the initial directory set to the current one) or it
says "failure to open module std.lnt" if I remove the -i"C:\Lint" argument.
I suspect this is because the path to C:\lint is not properly working but
I'm using XP and I haven't worked out how to set paths because they don't
seem to work like the good old days of win98. Or perhaps it's something else
entirely. It does work when I invoke Lint from the Keil uVision compiler.
This is off-topic, in comp.lang.c++ _and_ comp.lang.c.
Try to ask somewhere where your compiler or PC-Lint is on-topic.

2) Does anyone have an optimised Lint configuration that they feel gives the
right amount of important warnings but ignores the less important ones? I
realise that this is pretty subjective but I'd welcome peoples' opinions.
The code to verify will be part of the display system of an industrial
control unit but is not particularly safety critical, although it does
interface with a system that is.


Start out with the full paranoia and cut down the unbearable:
If in doubt about some rule, see the FAQ of a newsgroup where the
respective language is on-topic. If you do not find information
there, have a look at the archives. Then post your question and
enjoy the information gathered from the ensuing discussion.

In the case of C++, have a look at the clc++ FAQ concerning
coding standards.
Cheers
Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.
Aug 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: santhosh_176 | last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even installer creation. I could run the setup and install it into the actual device and worked fine. The application enables...
1
by: Jim Richards | last post by:
Hello all. I have just built another PC (New PC)and have it connected to my Original PC via a LAN. I have my SQL Server 2000 installed on the Original PC. Both PCs use WinXP Pro OS. I believe I now...
5
by: | last post by:
I created, on my PC, a web application that connects to an Oracle DB; it basically has three buttons and several forms. Now I want to try it out on another PC that does not have .Net. I copied...
5
by: Oliver Huppert | last post by:
Hi all, can someone tell me what I need to develop applications for PPC2003 with C#? I have read several meanings about this topic. Do I need Visual Studio .NET or is Visual C# .NET Standard...
8
by: Krishnan Margabandhu | last post by:
I'm writing a Pocket PC app that will run when a device is first powered on. I want this program to get some data from the user and invoke a CAB file to install a software on the device. How do I...
2
by: Deepa K | last post by:
Hi, In my PC, eth0 is not up because of IP address clash (another PC is using the same IP address). I tried to execute a file which has set of insert commands. After executing the file, when I go...
1
by: Gal Steinitz | last post by:
What is the correct way to set up a two PC development environment where one PC (the main PC) runs IIS and Visual Studio 2005, and the 2nd PC runs SQL Server 2000 ? We ran into significant...
2
by: =?Utf-8?B?bWFib25k?= | last post by:
Hi don't know if this is the best forum or if my request is possible...hope someone out there can suggest a pointer for me. I want to to be able to send a keyboard keystroke (specifically the...
20
by: Joel Teichroeb | last post by:
In trunk of the svn there is a folder called PCbuild. Now lets say that I am running linux on my Personal Computer and want to build python. I go into the PCbuild directory, but wait. This is for...
5
by: Terry Metcalfe | last post by:
I have an Asus A696 pocket PC. I have written a small test program in VB6 called "Pocket PC" and compiled it just as I would normally do to run on my desk top. It runs on my desk top perfectly...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.