Well here's an interesting quirk:

Macintosh:felix johnskaller$ flx --test=build/release-optimized/ --force 
build/release-optimized/tools/flx.flx 
build/release-optimized/tools/flx.cpp: In member function ‘void 
flxusr::flx::_init_::stack_call()’:
build/release-optimized/tools/flx.cpp:51: error: ‘flxusr::flx::rtl’ has not 
been declared

The problem is in here:

namespace flxusr { namespace flx {
  ....
      if(!(((_a3866t_13156)("/usr/local") == 
(flx::rtl::strutil::atostr(("/"))))==1) ) goto _8023;

Basically: in the standard library, we have the namespace flx which contains
some code and subnamespaces for various parts of the library, eg rtl::strutil.

The compiler generates code in namespace flxusr::flx.

So gcc is getting confused which "flx" is referred to, I meant ::flx::rtl and 
not ::flxusr::flx::rtl.

An unfortunate double use of the namespace name "flx".

I wonder what to do to fix it?

The idea is that system library live in namespace "flx", whereas user code is 
in "flxusr".

--
john skaller
skal...@users.sourceforge.net





------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to