Forum: Grand Theft Auto Series Modding - Our GTA Modding Team is the best around. Tutorials & Topics related to modding your GTA games, trophies, and save files! Discuss GTA game modding with the knowledgeable members of PSX-Scene and the Official GTA IV Mod Team.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: Compiler error. Need help.
  

Results 1 to 4 of 4
  1. #1 Compiler error. Need help. 
    MaxSpeed's Avatar
    MaxSpeed is offline Member
    Join Date
    Jun 2012
    Location
    MI, USA
    Posts
    57
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    29
    Likes Received
    18
    So I was just working on my menu adding an ejection seat(works on online players lol) and then I get this error I can't even begin to understand on a line that hasn't been touched since coding the menu's base (its a '}' btw) So naturally I undo what I just did, and well get the same error, then I start commenting out stuff but still get the error. My source is pretty large(22kb) maybe that could be it? It says something about a varargs function but I don't even know what that is. Anyway here is the code:

    Do to that ridiculous link scanner I have to post a link(Ironic huh?) to the error code...

    pastebin com/7Rdy1vkP

    Thanks in advance
    Reply With Quote  

  2. #2  
    BahumatLord's Avatar
    BahumatLord is offline Master Blaster
    Join Date
    May 2011
    Posts
    5,075
    Downloads
    81
    Uploads
    8
    Mentioned
    34 Post(s)
    Tagged
    2 Thread(s)
    Likes Given
    299
    Likes Received
    1255
    this what you were trying to post?

    Code:
    menu.c(58): line: 58 => parser: varargs functions are not allowed => compiler: (llvm) unrecognized `call` "  %7 = call i32 (...)* bitcast (void (i8*)* @print to i32 (...)*)(i8*
        getelementptr inbounds ([15x i8]* @.str, i32 0, i32 0)) nounwind, !dbg !251"
    Fiery the angels fell. Deep thunder rolled around their shoulders... burning with the fires of Orc.
    Reply With Quote  

  3. #3  
    MaxSpeed's Avatar
    MaxSpeed is offline Member
    Join Date
    Jun 2012
    Location
    MI, USA
    Posts
    57
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    29
    Likes Received
    18
    yes
    Reply With Quote  

  4. #4  
    spadger's Avatar
    spadger is online now Member
    Join Date
    Mar 2012
    Location
    UK
    Posts
    144
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    29
    Likes Received
    29
    Do you have any linked in files? Always best to split up your project into separate files then it's easier to manage and find bugs. That error could be anything, just got to go through where youve recently been modifying, probably just a misplaced semi colon or something like that. I know I'm not much help but only you have the source to inspect.
    Reply With Quote  

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