Author Topic: Commit 4850 breaks OS X (and likely non-windows) compilation  (Read 2226 times)

0 Members and 1 Guest are viewing this topic.

Offline Echelon9

  • 210
Commit 4850 breaks OS X (and likely non-windows) compilation
Hi,

The commit r4850 by Swifty to statically link TrackIR support in breaks compilation on OS X, and I'd assume Linux too.

In trunk/fs2_open/code/io/trackir.cpp
Code: [Select]
int TrackIR_Query()
{
    return 1;        // Fine.
}
float TrackIR_GetYaw()
{
    return 0.0f         // Error: expected ';' before '}' token
}
float TrackIR_GetYawRaw()
{
    return 0.0f        // Error: expected ';' before '}' token
}
float TrackIR_GetPitch()
{
    return 0.0f        // Error: expected ';' before '}' token
}
...

 

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
Re: Commit 4850 breaks OS X (and likely non-windows) compilation
I fixed it. Update and try compiling it again.

 

Offline Echelon9

  • 210
Re: Commit 4850 breaks OS X (and likely non-windows) compilation
Yes, fixed. Thanks for the quick turn-around time.

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Commit 4850 breaks OS X (and likely non-windows) compilation
*tsk tsk* Missing semicolons...what are we gonna do about that.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays