Ask / Submit
0

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

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

tortoisedoc gravatar image

updated 2014-02-25 22:51:14 +0200

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.

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
1

answered 2014-02-26 08:43:26 +0200

martyone gravatar image

updated 2014-03-04 13:00:03 +0200

Fixed https://github.com/nemomobile/mlite/pull/11

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

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

Seen: 242 times

Last updated: Mar 04 '14