473,386 Members | 1,745 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,386 software developers and data experts.

C++ .NET How to surpress warning

I need to surpress the following warning that taking place during
build/re-build

*warning C4018: '<' : signed/unsigned mismatch

I don't want to fix the cause because it's part of the way the program
works, but How do surpress the warning?
Jul 21 '05 #1
2 1424

"J Swift" <ju**@hotmail.CUT.com> wrote in message
news:42********@nntp.zianet.com...
I need to surpress the following warning that taking place during
build/re-build

*warning C4018: '<' : signed/unsigned mismatch

I don't want to fix the cause because it's part of the way the program
works, but How do surpress the warning?


pragma warning (disable: 4018)

/Fredrik

Jul 21 '05 #2

"Fredrik Wahlgren" <fr****************@mailbox.swipnet.se> wrote in message
news:uk**************@TK2MSFTNGP12.phx.gbl...

"J Swift" <ju**@hotmail.CUT.com> wrote in message
news:42********@nntp.zianet.com...
I need to surpress the following warning that taking place during
build/re-build

*warning C4018: '<' : signed/unsigned mismatch

I don't want to fix the cause because it's part of the way the program
works, but How do surpress the warning?


pragma warning (disable: 4018)

/Fredrik

Thanks... exactly what I was looking for
Jul 21 '05 #3

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

Similar topics

3
by: Bas Wassink | last post by:
Hello there, I'm having trouble understanding a warning produced by 'splint', a code-checker. The warning produced is: keywords.c: (in function keyw_get_string) keywords.c:60:31: Released...
3
by: Bill Burris | last post by:
How do I find what is causing this warning from the Linker? If I use /NODEFAULTLIB I get hundreds of undefined symbols. LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other...
3
by: DJTN | last post by:
I'm getting the following error when I try to compile my setup project in VS 2002. I have re-installed the .net framework 1.1 and it didnt solve the problem. WARNING: Unable to find dependency...
2
by: J Swift | last post by:
I need to surpress the following warning that taking place during build/re-build *warning C4018: '<' : signed/unsigned mismatch I don't want to fix the cause because it's part of the way the...
1
by: spanov | last post by:
i've got problem installing python-2.3.5 from sources on FreeBSD 5.3 root@server# ./configure > conf_log configure: WARNING: curses.h: present but cannot be compiled configure: WARNING:...
3
by: iwdu15 | last post by:
hi, i have a control that inherits from RichTextBox. What i want to be able to do is surpress the Enter key inserting a newline into the text. For instance, in AIM when you press Enter, it doesnt...
0
by: SentinalBlade | last post by:
I have an executable that is disassembeled into ASM, but cannot edit it directly very easily, and if i set soemthing to NOP through my debugger, it adds more line adresses that screws up the whole...
92
by: Heinrich Pumpernickel | last post by:
what does this warning mean ? #include <stdio.h> int main() { long l = 100; printf("l is %li\n", l * 10L);
4
by: cody | last post by:
It is possible to declare and use/instantiate a class with a uninitialized readonly field without even a compiler warning. Why don't I get warnings? public class Stuff { public readonly int a;...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...

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.