[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

build break on compute-dialog.c with VPATH build

From: Ben Pfaff
Subject: build break on compute-dialog.c with VPATH build
Date: Sun, 15 Apr 2007 09:49:01 -0600
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

When I do
     mkdir _build
     cd _build
the build breaks on compute-dialog.c here:
     #include <language/expressions/>
because $(top_builddir)/src is not in the include path.

One solution would be to change this line to:
     #include <../../language/expressions/>
but frankly I don't like the idea of including this file here at
all.  It puts a second copy of the functions array into the
binary, for one thing, and it breaks encapsulation, for another?

Why not just export a few accessor functions from the expressions
code?  I thought we talked about that approach before, and I
don't remember anyone pointing out why it wouldn't work.

"J'avais trouv'e ma religion :
 rien ne me parut plus important qu'un livre.
 La biblioth`eque, j'y voyais un temple."
--Jean-Paul Sartre

reply via email to

[Prev in Thread] Current Thread [Next in Thread]