Home Forums Programming C++ question about header files Reply To: C++ question about header files

#36927
Anonymous
Inactive

yep your right indeed and depending on your project settings you may even have the function call being ignored. i noticed this the other day on my code, where i was invoking a setter and the member variable was been set. So in the end i had to move the defination to a .cpp file and it got invoked every time..[/quote:d48430ad32]
Of course inlining is only a suggestion to the compiler which it’s free to ignore and just leave it as a regular function call, but what project setting did you use to get it to ignore the function call completely?![/quote:d48430ad32]

I honestly dont know, went up to one the project leads and was like "dude the projects fucked its stripping out my function calls on ps3". To which he replied "ah i know why that is, its a setting i must have missed when i modified the vsproj this morning". Then next sync it fixed. I’ll ask him on monday what he did to fix it, or how it started in the first place.