13
0
Go to file
David Robillard e0aaed6d65 *** NEW CODING POLICY ***
All #include statements that include a header that is a part of a library
bundled with ardour MUST use quotes, not angle brackets.

Do this:

#include "ardour/types.h"

NOT this:

#include <ardour/types.h>

Rationale:

This is best practice in general, to ensure we include the local version
and not the system version.  That quotes mean "local" (in some sense)
and angle brackets mean "system" (in some sense) is a ubiquitous
convention and IIRC right in the C spec somewhere.

More pragmatically, this is required by (my) waf (stuff) for dependencies
to work correctly.  That is:

!!! FAILURE TO DO THIS CAN RESULT IN BROKEN BUILDS !!!

Failure to comply is punishable by death by torture. :)

P.S. It's not that dramatic in all cases, but this (in combination with some
GCC flags specific to the include type) is the best way I have found to be
absolutely 100% positive the local ones are being used (and we definitely
want to be absolutely 100% positive on that one).


git-svn-id: svn://localhost/ardour2/branches/3.0@4655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 18:26:51 +00:00
gtk2_ardour *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
icons Added ardour.icns file. 2006-10-06 00:00:44 +00:00
libs *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
manual Fix ardour2 -> ardour3 issues. 2009-02-18 18:32:13 +00:00
patches most of the 2.X->3.0 commit (up to rev 4299) except for gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet 2008-12-12 14:43:24 +00:00
templates Fix install path problems (s/ardour2/ardour3). 2008-02-21 19:30:01 +00:00
tools Fix ardour2 -> ardour3 issues. 2009-02-18 18:32:13 +00:00
vst Fix ardour2 -> ardour3 issues. 2009-02-18 18:32:13 +00:00
.gitignore * .gitignore 2009-02-17 16:42:22 +00:00
ardour_system_sae.rc most of the 2.X->3.0 commit (up to rev 4299) except for gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet 2008-12-12 14:43:24 +00:00
ardour.1 most of the 2.X->3.0 commit (up to rev 4299) except for gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet 2008-12-12 14:43:24 +00:00
ardour.1.es most of the 2.X->3.0 commit (up to rev 4299) except for gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet 2008-12-12 14:43:24 +00:00
ardour.1.fr most of the 2.X->3.0 commit (up to rev 4299) except for gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet 2008-12-12 14:43:24 +00:00
ardour.1.ru most of the 2.X->3.0 commit (up to rev 4299) except for gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet 2008-12-12 14:43:24 +00:00
ardour.dox Fix ardour2 -> ardour3 issues. 2009-02-18 18:32:13 +00:00
ardour.rc.in merge with 2.0-ongoing @ rev 3147 2008-03-17 20:54:03 +00:00
autowaf.py Move waf up to top level, waf building of pbd, evoral, midi++ 2009-02-25 17:51:42 +00:00
COPYING
instant.xml most of the 2.X->3.0 commit (up to rev 4299) except for gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet 2008-12-12 14:43:24 +00:00
instant.xml.sae most of the 2.X->3.0 commit (up to rev 4299) except for gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet 2008-12-12 14:43:24 +00:00
Makefile * reverted Makefile (involuntary commit) 2008-08-07 03:21:34 +00:00
PACKAGER_README Install everything to *ardour3* instead of *ardour2*. 2008-01-13 21:34:04 +00:00
README most of the 2.X->3.0 commit (up to rev 4299) except for gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet 2008-12-12 14:43:24 +00:00
SConstruct Check for alsa correctly. Hopefully. 2009-02-19 17:57:34 +00:00
waf Move waf up to top level, waf building of pbd, evoral, midi++ 2009-02-25 17:51:42 +00:00

Please see the Ardour web site at http://ardour.org/ for all documentation.