3 ms·
some good tips although i do think __ FUNCSIG __ deserves a mention along with __FILE__ and __LINE__ :)
by jheriko 13y ago
some good tips
although i do think __ FUNCSIG __ deserves a mention along with __FILE__ and __LINE__ :)
- npsimons 13y agoAh, except __FUNCSIG__ isn't portable/standard.
- jheriko 13y agoi believe it works with the gcc, clang and msvs compilers across ios, android, windows phone, linux, windows desktop, windows metro, mac os and the game console compilers. sure its not standard, but in practice its never caused me a problem.
- npsimons 13y agoFunny thing is, I tried using __FUNCSIG__ with gcc and clang before I posted. Doesn't work; gcc 4.8.0 on Linux and clang 3.1 on Cygwin. Looks like a Microsoftism to me.
- intull 13y agoI did mention this during the talk, but missed writing about it. Will add it in my next edit! :)