MantisBT - Ecere SDK
View Issue Details
0001135Ecere SDKcompilerpublic2017-06-12 20:202019-10-13 00:22
jerome 
 
immediateblockalways
newopen 
0.44.15 
0.44.16 
0001135: Access mode mixups
math.h is causing a mix up with access modes.

Try the following with and without #include <math.h> to see the difference.

When math.h is included, Bar is made public and no error is produced.
public import "ecere"

#include <math.h>

public struct Foo
{
   Bar bar;
};

class Bar { }
No tags attached.
Issue History
2017-06-12 20:20jeromeNew Issue
2017-06-12 20:21jeromeDescription Updatedbug_revision_view_page.php?rev_id=50#r50
2019-10-13 00:22redjNote Added: 0001489

Notes
(0001489)
redj   
2019-10-13 00:22   
investigate public import makes everything public