Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Pawn Scripting [Pawn] [SOLVED] How to Use Pragma ? From #Pragma tabsize 0

 
  • 0 Vote(s) - 0 Average
Pawn [SOLVED] How to Use Pragma ? From #Pragma tabsize 0
PutuSuhartawan
Offline

Burgershot Member
Posts: 120
Threads: 52
Joined: Nov 2020
Reputation: 1
Location: Indonesia
#1
2021-05-14, 10:12 AM (This post was last modified: 2021-05-15, 05:56 PM by PutuSuhartawan.)
SOLUTION:
That's probably because the new scripter using the old includes as well. Please get the updated ones here:

https://github.com/pawn-lang/pawn-stdlib

The reason didn't remove the warning code system is because it really cares about the learning scripter. A lot of recommendations to make question before the compiler success. Now sir you can find a solution. As the best developer, the basics are usually based on the strength of the solutions created. And asking for a profit before build a new resolver system.


PROBLEM:

I often see Pragma script designs, but I never had the knowledge to relate to this #pragma system. Is this pragma really from pawn?
i just have source #pragma warning
This directive comes in two forms:
  • #pragma warning (enable|disable) XXX
    Enable or disable a warning by its number.
    Useful for hiding unwanted warnings that otherwise cannot be fixed.
  • #pragma warning (push|pop)
    Save or restore the list of currently disabled warnings.
    This can be used in conjuction with the previous form to toggle warnings
    for a piece of code:
    #pragma warning push
    #pragma warning disable XXX
    // some code here
    Put Error code after vairable option warning disable, Sample:
    Code:
    #pragma warning disable 239#pragma warning disable 217#pragma warning disable 219#pragma warning disable 203
    Quote:From Radical solution, You can also:
    Code:
    #pragma warning disable 239, 217, 219, 203
    #pragma warning pophttps://github.com/compuphase/pawn/issues/24
« Next Oldest | Next Newest »



Messages In This Thread
[SOLVED] How to Use Pragma ? From #Pragma tabsize 0 - by PutuSuhartawan - 2021-05-14, 10:12 AM
RE: [SOLVED] How to Use Pragma ? From #Pragma tabsize 0 - by Y_Less - 2021-05-14, 08:22 PM
RE: [SOLVED] How to Use Pragma ? From #Pragma tabsize 0 - by Radical - 2021-05-14, 08:31 PM
RE: [SOLVED] How to Use Pragma ? From #Pragma tabsize 0 - by Y_Less - 2021-05-14, 09:01 PM
RE: [SOLVED] How to Use Pragma ? From #Pragma tabsize 0 - by Radical - 2021-05-14, 09:59 PM
RE: [SOLVED] How to Use Pragma ? From #Pragma tabsize 0 - by PutuSuhartawan - 2021-05-14, 11:35 PM
RE: [SOLVED] How to Use Pragma ? From #Pragma tabsize 0 - by Y_Less - 2021-05-15, 09:57 AM
RE: [SOLVED] How to Use Pragma ? From #Pragma tabsize 0 - by Radical - 2021-05-15, 10:56 AM
RE: [SOLVED] How to Use Pragma ? From #Pragma tabsize 0 - by Y_Less - 2021-05-15, 02:02 PM
RE: [SOLVED] How to Use Pragma ? From #Pragma tabsize 0 - by PutuSuhartawan - 2021-05-15, 05:46 PM
RE: [SOLVED] How to Use Pragma ? From #Pragma tabsize 0 - by Pinch - 2021-05-15, 08:00 PM
RE: [SOLVED] How to Use Pragma ? From #Pragma tabsize 0 - by Y_Less - 2021-05-15, 08:24 PM
RE: [SOLVED] How to Use Pragma ? From #Pragma tabsize 0 - by Pinch - 2021-05-16, 09:41 AM
RE: [SOLVED] How to Use Pragma ? From #Pragma tabsize 0 - by PutuSuhartawan - 2021-05-16, 05:10 PM
RE: [SOLVED] How to Use Pragma ? From #Pragma tabsize 0 - by Y_Less - 2021-05-17, 08:50 AM
RE: [SOLVED] How to Use Pragma ? From #Pragma tabsize 0 - by ZyZu. - 2021-06-07, 04:14 AM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode