• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] [SOLVED] How to Use Pragma ? From #Pragma tabsize 0
#1
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
  Reply


Messages In This Thread
[SOLVED] How to Use Pragma ? From #Pragma tabsize 0 - by PutuSuhartawan - 2021-05-14, 10:12 AM

Forum Jump: