thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James E. King, III (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (THRIFT-4338) c_glib config.h header leaking into lib/cpp build and others
Date Thu, 21 Sep 2017 16:54:00 GMT

     [ https://issues.apache.org/jira/browse/THRIFT-4338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James E. King, III updated THRIFT-4338:
---------------------------------------
    Environment: docker ubuntu-xenial, autoconf build  (was: docker ubuntu-xenial)

> c_glib config.h header leaking into lib/cpp build and others
> ------------------------------------------------------------
>
>                 Key: THRIFT-4338
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4338
>             Project: Thrift
>          Issue Type: Bug
>          Components: Build Process
>    Affects Versions: 0.10.0
>         Environment: docker ubuntu-xenial, autoconf build
>            Reporter: James E. King, III
>            Priority: Minor
>
> I was building in lib/cpp and saw the command line contained:
> {noformat}
> g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../../.. -I../../../lib/cpp/src/thrift -I../../../lib/c_glib/src/thrift
 -I/usr/include -I../../../lib/cpp/src -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I.  -Wall
-Wextra -pedantic -g -O2 -Wno-deprecated-register -MT SecurityTest.o -MD -MP -MF $depbase.Tpo
-c -o SecurityTest.o SecurityTest.cpp &&\
> {noformat}
> In configure.ac at the global level we have:
> {noformat}
> AC_CONFIG_HEADERS(config.h:config.hin)
> AC_CONFIG_HEADERS(lib/cpp/src/thrift/config.h:config.hin)
> AC_CONFIG_HEADERS(lib/c_glib/src/thrift/config.h:config.hin)
> {noformat}
> This is causing the lib/cpp include path to refer to something in c_glib.  Similarly
if these options carry into c_glib then a lib/cpp header would potentially be accessible in
the c_glib build.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message