answersLogoWhite

0


Best Answer

Yes, warnings can be ignored. However, it is advised that you do not ignore them, particularly in production (release) code. Treat all warnings as errors and examine each one in turn to determine which can safely be suppressed (documenting your reasoning) and which indicate any unwanted side-effects. Those with unwanted side-effects should be re-written to eliminate those side-effects and thus eliminate the warning.

User Avatar

Wiki User

7y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

7y ago

It depends on the wording of the warning messages - which is not stated in the question, nor is the operating system. More information is needed. You could try asking on the forum that relates to your system.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can i ignore warning messages from my compiler?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering
Related questions

What happens if you try to find address of register variable?

Either you get a compiler error. Or you get a compiler warning, and the variable won't be stored in register.


When might you want the compiler to ignore type differences in an expression?

a compiler cannot "ignore" type differences, it only can silently "convert" the items into a common data type, before further processing. Such conversions require rules, how to make different types compatible


What is a warning in C programming?

Warnings are used to alert the programmer to a potential runtime problem. For instance, when casting a double to float, there may be some loss in precision due to narrowing, thus the compiler will issue a warning. The programmer may choose to ignore the warning, but in production code it's usually best to treat warnings as errors (most compilers can be configured to do this). However, if the logic is sound, a warning can be temporarily disabled with a pragma just before the problem code.


Do earthquake early warning signals save lives?

Yes but if you ignore it then no


What supersititious warning does Caesar ignore?

His wife has a dream where he is spouting blood.


I don't have any error but compiler rites long lines of code like 60 lines and do not create a exe file?

You failed to find (or understand) the compiler's error messages. Ask your teacher for help.


What is warning vs error?

Compilers can produce two types of diagnostic messages: errors and warnings. Errors result from issues which cause the compiler to be unable to compile your program. Warnings result from issues that the compiler can deal with, but that you may wish to address in case it affects the logic you intended for your program. Many compilers allow you to disable various warning messages, but this generally isn't recommended. An exception may be a difference between C and C++ where C does not distinguish between character strings and constant character strings ("Hello World"). C++ will regularly issue warnings when you attempt to mix the two, whereas C doesn't care and will happily compile your program regardless.


What are three sentences for the word ignore?

I chose not to ignore your question but to answer it.I asked my dad for some money but he chose to ignore me.If I ignore the problem it might go away.


What are the risks of using compiler interpreter assembler?

The error messages may be frustrating as they show that your program is not perfect... Or I do not know what risk you mean...


What are various types of data conversion that can not be handled by compiler?

Data conversion which culminate in loss of data will usually lead to the generation of warning messages. Eg: from float to int. These conversions should be explicit. Also conversion between two different objects is only possible if there is a function specifying the conversion method.


Import a package second time in Java?

You can import a package as many times as you want in Java. The compiler will just ignore any duplicates.


If you'll ignore his calls and messages he will want you more?

no, he will become aggravated and possibly break up with you