Thanks dave. We could add a simple macro for visibility into mk_macros.h
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Davidlohr Bueso <[email protected]> wrote:

On Mon, 2012-05-21 at 21:48 +0300, Lauri Kasanen wrote:
> On Mon, 21 May 2012 20:34:13 +0300
> Lauri Kasanen <[email protected]> wrote:
> 
> > This makes every plugin load faster. Each plugin is also 3-4kb smaller.
> 
> Had a small mistake. v2.

This patch breaks not-so-old gcc (and other compilers) that don't
support visibility pragmas (If I recall correctly < 4.1). Please protect
these - see mk_memory.h.

#if ((__GNUC__ * 100 + __GNUC__MINOR__) > 410) /* gcc version > 4.1 */
...
#endif

> - Lauri
>_____________________________________________

> Monkey mailing list
> [email protected]
> http://lists.monkey-project.com/listinfo/monkey


_____________________________________________

Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to