Changeset 1707 for trunk


Ignore:
Timestamp:
Jan 12, 2009, 11:51:35 PM (12 years ago)
Author:
Peter
Message:

let user define YAT_DEPRECATE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/deprecate.h

    r1501 r1707  
    55
    66/*
    7   Copyright (C) 2008 Peter Johansson
     7  Copyright (C) 2008, 2009 Peter Johansson
    88
    99  This file is part of the yat library, http://trac.thep.lu.se/yat
     
    2929#include "config_public.h"
    3030
     31// allow user to define YAT_DEPRECATE and thereby turn off warning
     32// about deprecation
     33#ifndef YAT_DEPRECATE
    3134#ifdef YAT_HAVE_GCC_DEPRECATED
    3235/// if supported by compiler define attribute deprecated
     
    3639#define YAT_DEPRECATE
    3740#endif
     41#endif
    3842
    3943#endif
Note: See TracChangeset for help on using the changeset viewer.