We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
steve-w
Hi, Need to be able to debug into our process tree. So equivalent functionality to Visual Studio D…
»
Delicious Lines
I do not exactly know when this happens, but sometimes there are weird breakpoints that are automa…
»
Mārtiņš Možeiko
Yes, that should have been solved by uploading the back texture to GL_TEXTURE_CUBE_MAP_NEGATIVE_Z,…
»
da447m
Yes, that should have been solved by uploading the back texture to GL_TEXTURE_CUBE_MAP_NEGATIVE_Z,…
»
Simon Anciaux
Maybe you also need to flip the image you get from stb image ?
»
Mārtiņš Možeiko
Be careful on how cubemap uses coordinate system. It is left handed. See here: So if your view ma…
»
da447m
This is to build the skybox texture. What happens is that the skybox textures are upside down and …
»
Mārtiņš Možeiko
Guard Security would be my best guess on what it means. From here:
»
longtran2904
What does the gs stand for? It appears in these files and the flag.
»
Mārtiņš Možeiko
I have not looked into details how they work, I don't know. But you can read up on that yourself i…
»
longtran2904
Can you give me some overview on how these ___security_cookie, ___report_rangecheckfailure, etc fu…
»
Mārtiņš Možeiko
Sure, you can implement all of them yourself. If you know what they need to do, then you can write…
»
longtran2904
I said __chkstk and friends, which include ___report_rangecheckfailure, ___security_cookie, and __…
»
Mārtiņš Možeiko
__chkstk function is less than 100 bytes. There's no way it will give more than 5KB of code. test.…
»
longtran2904
Regarding the executable size, It would be interesting to see comparisons between how each CRT fea…
»
Mārtiņš Možeiko
There are different lib files based on settings - debug vs release, static vs dynamic. See that li…
»
longtran2904
Whole CRT is typically one lib So it's not like math.h is in one lib file while stdio.h is in anot…
»
Mārtiņš Možeiko
Yes, that is how it will work. What do you mean by "couple libs"? Whole CRT is typically one lib (…
»
longtran2904
So, the linker will link all the CRT .lib files by default unless you tell it otherwise. When you …
»
Mārtiņš Možeiko
CRT functions live in .lib file that provides implementation - either static lib, or dynamic impor…
»
longtran2904
Yes, I was asking how the linker wouldn't use CRT libs. Is the implementation of CRT functions ins…
»
Mārtiņš Možeiko
I meant that in "if you use -nodefaultlib then linker won't use CRT libs" context.
»
longtran2904
When you said the linker wouldn't use CRT functions, did you mean, for example, stdio.h just forwa…
»
Mārtiņš Možeiko
You can actually include stdlib/stdio. But you cannot call functions from it - as linker won't use…
»
longtran2904
When you pass in -nodefaultlib to msvc, how can you not include stdlib, stdio, etc but can include…
»
Mārtiņš Možeiko
Yes, they are using custom __builtins. You can always just open header and look how they are defin…
»
longtran2904
I was asking specifically how the macros are defined. They seem to be defined with __builtin_va_xx…
»
Mārtiņš Možeiko
They are implemented in whatever way compiler wants. I mean the similar question would be about ho…
»
longtran2904
So how are va_xxxs implemented inside stdarg.h on clang? On msvc, they're just simple macros that …
»
Mārtiņš Možeiko
va_arg & friends do not depend on CRT in msvc/clang/gcc. They are compile time transformation in c…
»