Run Microsoft Analyzer over dmd source code
bearophile
bearophileHUGS at lycos.com
Sun Aug 7 11:45:45 PDT 2011
Vladimir Panteleev:
> http://thecybershadow.net/d/vcanalysis/
As with (first report of) Clang I see that assert(p); p->foo... are marked as "Dereferencing NULL pointer".
Do you know the purpose of this?
os->name = strdup(name);
warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details. c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(238) : see declaration of 'strdup'
And do you know what kind of troubles this warning helps to avoid?
c:\projects\extern\d\dmd\src\root\dchar.h(164): warning C6328: 'char' passed as parameter '1' when 'unsigned char' is required in call to 'isalpha'
Bye,
bearophile
More information about the Digitalmars-d
mailing list