Ignore:
Timestamp:
Sep 15, 2008, 8:47:37 PM (15 years ago)
Author:
Peter
Message:

Added structure to deprecate functions. I chose to use a gcc style,
and it is tested in configure whether the compiler supports it. If not
the deprecation has no effect. Using a deprecated function will cause
a compiler warning. In gcc the warning can be turned off with
'-Wno-deprecated'. Possibly we should turn off the warning by default,
so a user has to turn it on by defining
-DYAT_DISABLE_DEPRECATED...

fixes #367

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/Makefile.am

    r1494 r1500  
    3737  Alignment.h ColumnStream.h CommandLine.h \
    3838  Container2DIterator.h DataIterator.h DataWeight.h \
    39   Exception.h FileUtil.h Index.h \
     39  deprecate.h Exception.h FileUtil.h Index.h \
    4040  IteratorPolicy.h iterator_traits.h \
    4141  kNNI.h Matrix.h MatrixWeighted.h NNI.h \
     
    4747  WeightIterator.h WeNNI.h yat_assert.h
    4848
    49 versiondir = $(include_utilitydir)
    50 version_DATA = version.h
     49extra_headersdir = $(include_utilitydir)
     50extra_headers_DATA = config_public.h version.h
Note: See TracChangeset for help on using the changeset viewer.