I am using microsoft visual c++ 2010. when I compile, it gives me several warnings, and the ocassional errors. However, most of these warnings are in the header files that are included in the program. Is there a setting that only displays errors/warnings in the program and not the includes?
Not looking for how to fix the header errors, just a setting.
fmasroor 0
Newbie Poster
Recommended Answers
Jump to PostPlease post your code and the errors you're getting. Just because the errors are being thrown in compiler-provided headers doesn't mean your code isn't wrong.
Jump to PostIf you don't like to see the warnings, you can do this (although there's no problem with seeing warnings - the code will still compile):
http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/cc2488bf-9100-46a6-a2e0-968e5d5707fc
The error on the end is in your code:main()
should …
All 7 Replies
Narue 5,707
Bad Cop Team Colleague
fmasroor 0
Newbie Poster
Moschops 683
Practically a Master Poster Featured Poster
Ancient Dragon 5,243
Achieved Level 70 Team Colleague Featured Poster
fmasroor 0
Newbie Poster
thines01 401
Postaholic Team Colleague Featured Poster
Moschops 683
Practically a Master Poster Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.