> Александр Соколов has written on Tuesday, 22 October, at 12:41:
> >Variant 1.
> >   The QTXDG_INCLUDE_DIR is equal "/usr/include". In this case in the code
> >we use "#include <qtxdg/XdgDirs>". The X11 behave so.

Namespacing is good.

> >Variant 2.
> >   The QTXDG_INCLUDE_DIR is equal "/usr/include/qtxdg". In this case in the
> >code we use "#include <XdgDirs>". The Qt4 behave so.

No namespacing is risky, think of name collisions with someone else's
 "XdgDirs" or something
which for whatever reason may happen to be desirable to include in the same
source file...

Rune


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to