THREAD: [C++/SPRX] Auth.h errors?
  1. 09-14-2018, 04:01 PM
    xSins's Avatar
    xSins
    Bounty hunter
    xSins's Avatar
    xSins
    Bounty hunter
    198
    Posts
    1,421
    Reputation
    Feb 2017
    NextGenUpdate
    Here are the errors.

    1>C:\Users\yeet\Desktop\MW3 SPRX Base\MW3Base\Auth.h(97,Cool Man (aka Tustin): warning 112: statement is unreachable
    1>
    1>C:\Users\yeet\Desktop\MW3 SPRX Base\MW3Base\Auth.h(100): warning 942: missing return statement at end of non-void function "SocketRequest"
    1>
    1>C:\Users\yeet\Desktop\MW3 SPRX Base\MW3Base\Auth.h(173,10): warning 118: non-void function "GetKey" should return a value


    everytime i change something it still doesnt work, any ideas?
  2. 09-15-2018, 05:37 AM
    3
    Posts
    10
    Reputation
    Sep 2018
    NextGenUpdate
    The statement at line 97 is not defined anywhere. The second warning is because you didn't return a value or your forgot to make the function void. The third warning is because you didn't return the key in the GetKey function.
    Last edited by biblestudies ; 09-15-2018 at 05:37 AM. Reason: Typo