REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login

    Disabling rexlang compile warnings

    REXYGEN Studio
    2
    2
    253
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sadilekivan
      last edited by

      Hello,

      In one of my codes I'm getting a warning on not using a variable even though I kinda do, what #pragma should I use to disable getting this warning

      Warning compiling file '../.rexlang/database.c' (line 29): variable 'dateInterval' is assigned but not used

      I tried #pragma warning(disable: 4189) but thats no good.

      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • jaroslav_sobotaJ
        jaroslav_sobota
        last edited by

        Hello,
        I do not have any better advice than to add this line to your code, which will make the compiler believe that the variable dateInterval is used.

        dateInterval = dateInterval;
        

        Can you share or send your code leading to such a false warning? Thank you.

        Jaroslav

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        This is a community forum for REXYGEN users and fans. Detailed information can be found at REXYGEN homepage.

        There is also an outdated REXYGEN community forum.

        Powered by NodeBB.