Opened 13 years ago

Closed 13 years ago

#539 closed defect (fixed)

including uninstalled <yat/utility/deprecate.h> fails in VPATH build

Reported by: Peter Owned by: Peter
Priority: trivial Milestone: yat 0.5.4
Component: utility Version: 0.5.3
Keywords: Cc:

Description

Building against uninstalled yat tree which is configured with srcdir!=builddir fails, because included "deprecate.h" includes a "config_publig.h". However, "config_public.h" is located in builddir whereas "depreate.h" is located in srcdir, and consequently preprocessor won't find "config_public.h".

I suggest we include generated header files as "yat/utility/file.h".

Alternatively, we could let yat-config --cppflags give the -I arguments as needed.

Change History (2)

comment:1 Changed 13 years ago by Peter

Owner: changed from Jari Häkkinen to Peter
Status: newassigned

comment:2 Changed 13 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [1973]) fixes #539 added more details include paths in yat-config --cppflags when yat-config is not installed but built in VPATH build.

Note: See TracTickets for help on using tickets.