Re: include files observation and question
- Posted by ChrisB (moderator) May 20, 2016
- 1350 views
Hi
Yes, does look like a scope issue rather than a bug. Sometimes the behaviour of the 'global', 'export' and 'public' keywords is slightly different, but as I said this goes away when you inlude only one level down. You just have to be a bit careful when naming routines and variables (or use the namespace qualifier). The problem becomes more complex the more include files you have.
This is quite a good article.
Cheers
Chris