Raised This Month: $32 Target: $400
 8% 

What the hell is this magic?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
The Team Ghost
Senior Member
Join Date: Jun 2016
Location: OnClientConnect(int ME)
Old 09-02-2017 , 13:54   What the hell is this magic?
Reply With Quote #1

I've made my own plugin but when compiling I get the weirdest errors for no reason I have no idea why it does this.
Spoiler

One thing to note is that in my code I don't have "#pragma newdecls required" so it shouldn't do this I've check every single include if it was outdated the thing must lie in my code but because I've never experienced this before.
__________________
- Steam
The Team Ghost is offline
ItsExTacY
Member
Join Date: Jul 2017
Location: Israel
Old 09-02-2017 , 13:58   Re: What the hell is this magic?
Reply With Quote #2

Maybe send your code?
ItsExTacY is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 09-02-2017 , 14:39   Re: What the hell is this magic?
Reply With Quote #3

one of your includes has "#pragma newdecls required" some where, or SPEdit is doing it automatically before you compile.
Mitchell is offline
DarkBlackOMG
Member
Join Date: Oct 2015
Old 09-02-2017 , 14:48   Re: What the hell is this magic?
Reply With Quote #4

change #pragma newdecls required to #pragma newdecls optional
DarkBlackOMG is offline
The Team Ghost
Senior Member
Join Date: Jun 2016
Location: OnClientConnect(int ME)
Old 09-03-2017 , 06:34   Re: What the hell is this magic?
Reply With Quote #5

Quote:
Originally Posted by DarkBlackOMG View Post
change #pragma newdecls required to #pragma newdecls optional
This did wonders I edited the include file using pramga optitional and it compiles perfectly now
__________________
- Steam
The Team Ghost is offline
The Team Ghost
Senior Member
Join Date: Jun 2016
Location: OnClientConnect(int ME)
Old 09-03-2017 , 06:35   Re: What the hell is this magic?
Reply With Quote #6

Quote:
Originally Posted by Mitchell View Post
one of your includes has "#pragma newdecls required" some where, or SPEdit is doing it automatically before you compile.
Checked every include file if they had it, they don't.
I did a manual compile to be able to copy these errors easily and also to check if the problem was with spedit
__________________
- Steam
The Team Ghost is offline
The Team Ghost
Senior Member
Join Date: Jun 2016
Location: OnClientConnect(int ME)
Old 09-03-2017 , 06:36   Re: What the hell is this magic?
Reply With Quote #7

Quote:
Originally Posted by ItsExTacY View Post
Maybe send your code?
I would have done it but I've fixed the problem
__________________
- Steam
The Team Ghost is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode