473,804 Members | 2,280 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Info about Errors ,warnings..!

Hi all,
Where can i get the complete details about the all types of errors and
warnings that a C-compiler pops up..??

any pdfs or links or books to refer....!
plz help me out..

Regards,
Rajshekhar

Nov 14 '05 #1
2 1374
Rajshekhar <ra*********@gm ail.com> wrote:
Hi all,
Where can i get the complete details about the all types of errors and
warnings that a C-compiler pops up..??
Most likely you'll find these in the manuals of the compiler in use.
There are to many to actually write one documentation that fits all.

any pdfs or links or books to refer....!
plz help me out..


Most compilers have specific newsgroups where you might get help.

--
Z (zo**********@w eb.de)
"LISP is worth learning for the profound enlightenment experience
you will have when you finally get it; that experience will make you
a better programmer for the rest of your days." -- Eric S. Raymond
Nov 14 '05 #2
"Rajshekhar " <ra*********@gm ail.com> wrote:
Where can i get the complete details about the all types of errors and
warnings that a C-compiler pops up..??


The manual that came with your compiler. A compiler may warn about
anything; there are a couple of problems that it must warn about, but it
need not stop after producing the warning and the Standard doesn't make
any demands about the contents of the warning. This is a valid message:
"File draw.c, line 14: Good grief, your code is ugly!"
and so is this, even as the only message the compiler ever produces of
its own accord:
"Error detected. Terminating compile."
In neither case is the compiler required not to compile anything, not
even in the latter case. Of course, a compiler that _claimed_ to abort
the compile, and then continued to write a program, is of very bad
quality; but the Standard, at least, doesn't forbid it.
Since the problems (or even non-problems) compilers warn about _may_
vary so widely, they do indeed vary. There is, therefore, no one list of
all messages a compiler may produce, nor for which of these it might
halt compilation. There should, however, (as a QOI issue; this is TTBOMK
not required by the Standard, either) be one for your compiler, and it
should have come with that compiler's documentation.

There is only one exception to this, and it is an explicit request by
the programmer: #error <message>. This _must_ produce an error message
that includes the message, and it is not allowed to succesfully compile.
Even there, all the Standard requires is that the message includes
<message>. It may vary from
<message>
(as the only message produced by that compile), to
<a whole bucketload of other warnings>
"Oh, btw, you asked for " <message>
<another bucketload of warnings>

Richard
Nov 14 '05 #3

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

Similar topics

3
2863
by: Michael G | last post by:
I am getting some errors/warnings that I don't understand. This code is in a Java app that uses Swing J Components with an ActionListener. The code/errors/warnings follow. Thanks for any help, Mike import javax.swing.*; import java.awt.event.*; import java.awt.*; public class GraphicalImp extends UIImp implements ActionListener {
30
2210
by: prasanna | last post by:
i will be very thankful if you sent all the errors and warnings regarding to the language C thank you
2
1277
by: Bern McCarty | last post by:
We have a large source base that we normally compile with /WX (treat all warnings as errors) and /W3. I would like to add the /Wp64 switch to this mix so that developers see the /Wp64 warnings but I don't want them to be treated as errors. Treating them as errors would be impossible at this point since there will be tons of them. At this point my aim is to build awareness and at least get developers that are writing a lot of new code to...
6
1987
by: Angelos | last post by:
Hello, I would like to develop an independent class that will store Messages, Warnings and Errors. Messages and Warnings Will be displayed to the user. Errors will be loged in a database or/and emailed to the admin. The part that Interests me at the moment is the messages that will be displayed to the user.
10
1941
by: dbuchanan | last post by:
Hello, >From time to time my vb2005 form disappears and is replaced by the following errors. Rebuilding the application never helps. However the errors never affects the operation of my application that I notice, but it is very anoying. To get rid of the errors I must close the form, close the application and then reopen it.
1
1787
by: John Dalberg | last post by:
I converted a working web site project to a web application project and I am getting a bunch of warnings and compile errors. All code using .NET's profile class is giving an error. example line: txtName.Text = Profile.FirstName gives an error: ... FirstName' is not a member of 'Profile'.
1
1671
Ajm113
by: Ajm113 | last post by:
Ok, when I was new to this I had this problem and I bet a lot of other people did when they where new to PHP and Mysql. So this mite be your question; "Ok, no errors or warnings in mysql and php so why isn't the script entering info into my row?". Well to awnser your question most servers that you pay for monthly or own will have a anti mysql injection attack. So it will not allow the injection to enter in your database for your protection...
0
2342
by: Larry Lard | last post by:
Recently we've been on a code quality drive and have eliminated all compilation warnings from our code. To preserve this state, we've turned 'Treat warnings as errors' to 'All' in all our projects (and if only this could be a solution level setting!). However, we've now found that warnings produced by Code Analysis DO NOT get treated as errors even with this flag set - it looks like this is because the Code Analysis happens after the...
0
1739
by: WebCM | last post by:
PDO offers 3 modes of displaying errors: - silent mode - no errors - warnings - Warning: - exceptions - Exception: Which of them is the fastest and the most adequate for applications like CMS and forums? I've been using exceptions now. However, let's come to the point where EDITOR posts a filled FORM (message, article...). He cannot lose his work!
0
9594
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10346
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10090
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9173
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7635
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6863
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5531
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4308
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.