We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-02-25 22:50:22 +0200

mlite5 mlite-global.h has wrong #define on top

See :

https://github.com/nemomobile/mlite/blob/master/src/mlite-global.h

Is currently :

#ifndef GLOBAL_H

which, if you happen to have a global.h header file somewher in your own project, with a similar #define on top (#ifndef GLOBAL_H / #define GLOBAL_H) can cause quite a headache to debug :-).

Should be :

#ifndef MLITE_GLOBAL_H #define MLITE_GLOBAL_H

as the comment in the end of the file says.

mlite5 mlite-global.h has wrong #define on top

See :

https://github.com/nemomobile/mlite/blob/master/src/mlite-global.h

Is currently :

#ifndef GLOBAL_H

which, if you happen to have a global.h header file somewher in your own project, with a similar #define on top (#ifndef GLOBAL_H / #define GLOBAL_H) can cause quite a headache to debug :-).

Should be :

#ifndef MLITE_GLOBAL_H MLITE_GLOBAL_H

#define MLITE_GLOBAL_H

as the comment in the end of the file says.