eolian-cxx: Disabled temporarily the inheritance feature

This feature is buggy when using multi-level namespaces. I disabled it
temporarily and will fix it ASAP and re-enable it.
This commit is contained in:
Felipe Magno de Almeida 2014-07-18 12:00:39 -03:00
parent 6d08b96bd3
commit 5e5b00bc90
2 changed files with 12 additions and 6 deletions

View File

@ -9,6 +9,7 @@ EOLIAN_FLAGS = \
-I$(top_srcdir)/src/lib/eo \
-I$(top_srcdir)/src/lib/evas/canvas \
-I$(top_srcdir)/src/lib/edje \
-I$(top_srcdir)/src/lib/efl \
-I$(top_srcdir)/src/lib/ecore_audio
include $(top_srcdir)/src/Makefile_Eolian_Helper.am
@ -79,7 +80,7 @@ SRCS = \
$(IMPL)
EXTRA_PROGRAMS = \
eolian_cxx_simple_01 \
eolian_cxx_simple_01 #\
eolian_cxx_inherit_01
DATA_FILES = Makefile.examples $(EOS)
@ -91,12 +92,12 @@ eolian_cxx_simple_01_SOURCES = \
eolian_cxx_simple_01.$(OBJEXT): $(GENERATED)
eolian_cxx_inherit_01_SOURCES = \
eolian_cxx_inherit_01.cc \
colourable.c \
colourablesquare.c
# eolian_cxx_inherit_01_SOURCES = \
# eolian_cxx_inherit_01.cc \
# colourable.c \
# colourablesquare.c
eolian_cxx_inherit_01.$(OBJEXT): $(GENERATED)
# eolian_cxx_inherit_01.$(OBJEXT): $(GENERATED)
%.eo.hh: %.eo
$(AM_V_EOLCXX)$(EOLIAN_CXX) $(EOLIAN_FLAGS) -I${abs_srcdir} -o $@ $<

View File

@ -384,12 +384,17 @@ operator<<(std::ostream& out, inheritance_eo_class_getter const& x)
inline void
eo_inheritance_detail_generator(std::ostream& out, eo_class const& cls)
{
#if 0 // Will be fixed ASAP
out << inheritance_wrappers(cls)
#endif
out
<< "namespace efl { namespace eo { namespace detail {" << endl << endl
#if 0 // Will be fixed ASAP
<< inheritance_base_operations(cls) << endl
<< inheritance_base_operations_size(cls)
<< inheritance_operations_description(cls)
<< inheritance_call_constructors(cls)
#endif
<< inheritance_extension(cls)
<< inheritance_eo_class_getter(cls)
<< "} } }" << endl;