Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Coders Lounge › [Opinion]I Hate VS Compiler Errors

[Opinion]I Hate VS Compiler Errors

Posts 1–14 of 14 · Page 1 of 1
why06
why06
[Opinion]I Hate VS Compiler Errors
Sometimes I get these really weird errors, if you've coded long enough you know what I mean. The really weird ones that you do a double take, finally click on and go to the line, stare at for a second before you get a really bad feeling somewhere in the back of your mind that this is going to take hours to figure out.

I got one of these today. After playing with if for 30 min and trying every trick I knew so I searched online, but of course it's one of those really non-specific error messages that address about 30 different problems. Meh whatcha gonna do?

Just felt like cryin about it a lil bit. woe is me.
#1 · 15y ago
Hell_Demon
Hell_Demon
Post the error + a few lines before & after the line the error occurred on and we'll halp? ^^
#2 · 15y ago
why06
why06
Quote Originally Posted by Hell_Demon View Post
Post the error + a few lines before & after the line the error occurred on and we'll halp? ^^
I can post the error code, but it won't make any sense. It's got something to do with header files, but I'm using #ifndef statements so I have no idea. Here's what it says.
Code:
ERRORLINE: TextOption(char* str, char t, int initval = 0, int min = 0, int max = 1, TextOptionSettings* set = NULL)
	{
		if(str)name = str;
		else{


Code:
1>c:\users\shaun\documents\visual studio 2008\projects\dmenu\dmenu\dmenu.h(306) : error C2512: 'Option' : no appropriate default constructor available
And then it cuts the word in half, so there must be some kinda error with the erroe message too o_O.
#3 · edited 15y ago · 15y ago
Kallisti
Kallisti
Sometimes i recode it, it helps sometimes.
#4 · 15y ago
why06
why06
Quote Originally Posted by 은조 View Post
Sometimes i recode it, it helps sometimes.
Yeh I think I'll do that, just make a new project and see what happens.
#5 · 15y ago
NextGen1
NextGen1
We know that whenever a object of a class is called we know that C++ either calls the constructor for that specific class or uses the default constructor.

I can't tell from the snippet of code alone, but I would assume that the issue lies in there being no constructor for your class as well as no default constructor.

A default constructor should be set, a default constructor is the ctor that is set with no arguments.


Example
Default Constructor with no arguments.
Code:
X();.
Constructor
Code:
X(int, int , int = 0);

it is my belief (though C++ is not a "native language") that the issue lies there.
#6 · edited 15y ago · 15y ago
why06
why06
Lol. Thanks NG, but a defaut constructor and destructor are only produced on the creation of the class when a constructor is not provided. So the error that could occur from that is almost impossible of happening. Secondly the class "Option" does exist, but not in the line where the error formed, so for some reason its cutting off half the word, the error should say "TextOption", these are just one of those weird ass errors everyone get once or twice. Point is the compiler fked up.
#7 · 15y ago
NextGen1
NextGen1
Upgrade to Visual Studio 2010 (even though I know you already hate that idea)

@ my solution, Only considered it as a solution based on the message in the error, and 9th grade C++ was a long time ago, I only know (remember) enough to get me by when needed.



#8 · 15y ago
why06
why06


Pretty good theory though I'll give you that. I would not have thought of that.

Anyway I'm not completely against VS2010. Once I get my new computer I would be glad to use it. Vista is shit, hopefully Win7 is better.
#9 · 15y ago
NextGen1
NextGen1
Windows 7 = (IMO) one of the best Windows OS's

Windows 7 , Great
Windows XP, Great
Windows 98SE Great

Everything else was horrible (IMO)
---------------------------------------------

And glad to here, VS2010 seems shunned upon by some of the other C++ developers here, however, I like it, and maybe MS took some time to fix the silly compiler errors.
#10 · 15y ago
freedompeace
freedompeace
Quote Originally Posted by why06 View Post
Lol. Thanks NG, but a defaut constructor and destructor are only produced on the creation of the class when a constructor is not provided. So the error that could occur from that is almost impossible of happening. Secondly the class "Option" does exist, but not in the line where the error formed, so for some reason its cutting off half the word, the error should say "TextOption", these are just one of those weird ass errors everyone get once or twice. Point is the compiler fked up.
Yeah, that's the logical reason, but C++ pulls a lot of herp derp on me..

C++ does that to me sometimes, check your header files or overall for the file that is right before where the error (line) occurred. Normally because of some cryptic missing brace somewhere...

Quote Originally Posted by NextGen1 View Post
Windows 7 = (IMO) one of the best Windows OS's

Windows 7 , Great
Windows XP, Great
Windows 98SE Great

Everything else was horrible (IMO)
---------------------------------------------

And glad to here, VS2010 seems shunned upon by some of the other C++ developers here, however, I like it, and maybe MS took some time to fix the silly compiler errors.
Although Vista wasn't great, I found it pretty alright (rather than horrible).
#11 · 15y ago
Hell_Demon
Hell_Demon
Quote Originally Posted by NextGen1 View Post
And glad to here, VS2010 seems shunned upon by some of the other C++ developers here, however, I like it, and maybe MS took some time to fix the silly compiler errors.
Reason why I absolutely HATE MSVC++ 2010 is that they removed global includes(You know, the ability to set standard include paths that'll be used by every project, like the DirectX SDK paths for example)

If they'd re add that it'd be the best IDE.
#12 · 15y ago
why06
why06
Quote Originally Posted by freedompeace View Post
Yeah, that's the logical reason, but C++ pulls a lot of herp derp on me..

C++ does that to me sometimes, check your header files or overall for the file that is right before where the error (line) occurred. Normally because of some cryptic missing brace somewhere...
Yeh it's something with the includes, though I'm not sure what it is yet.


Quote Originally Posted by freadompeace
Although Vista wasn't great, I found it pretty alright (rather than horrible).
No just no. It's crap. If you were still using it you would hate it too, and the longer you use it the worse it gets. It's the kind of thing that makes you want to sell your soul and buy a mac.
#13 · 15y ago
NextGen1
NextGen1
Well, VS2010 has reported Bugs, however, MS is pretty good with revisions & updates. I think there is SP1, and they may fix some of the issues, just keep an eye out and check the change logs.

@ Freedom, there was only one good version of Vista, and it wasn't released by Microsoft, I forgot the name but it was released with all major bug fixes, removal of garbage and all the bells and whistles MS Vista should have had.




#14 · edited 15y ago · 15y ago
Posts 1–14 of 14 · Page 1 of 1

Post a Reply

Tags for this Thread

None