Jump to content

Error on compiling (mangos 11586)


Recommended Posts

Posted

Hello,

Today I was 2 error when I compile the core :

3>..\\..\\src\\shared\\Database\\Database.cpp(54): warning C4018: '<=' : incompatibilité signed/unsigned
3>..\\..\\src\\shared\\Database\\DatabaseMysql.cpp(430): warning C4018: '<' : incompatibilité signed/unsigned

The compilation end correctly but I would indicate the error.

Mangos core : 11586 (no patch)

Compiled on : VC 10 Express on Windows.

Posted

Thats no error, that's a warning.

With an error mangos doesn't compile right. A warning is a note for the coder that there is maybe a type mistake. If you make a int32 value to uint32 value without a casting of types you get a warning.

Posted

Hello, Breakwater

Thanks for your answer.

I haven't been clear enough in my description sorry.

I know the difference between warning and error and even it isn't dramatical, I thought that was usefull to report these warning to devolloper for them to maintain a good code, because I know they do an excellent job :)

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use