diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-17 23:14:17 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-17 23:14:17 -0500 |
commit | 09cf0cbb2ae3690b357fc04d6f80476b8d60ce37 (patch) | |
tree | 199ec19d4635c9de915655c953afb1e800f963a9 /src/filters.cc | |
parent | 1240ce24b3dd59bb2f48a396043b4115cc49c6e1 (diff) | |
download | fork-ledger-09cf0cbb2ae3690b357fc04d6f80476b8d60ce37.tar.gz fork-ledger-09cf0cbb2ae3690b357fc04d6f80476b8d60ce37.tar.bz2 fork-ledger-09cf0cbb2ae3690b357fc04d6f80476b8d60ce37.zip |
Change some #if guards to test for gcc 4.7
Diffstat (limited to 'src/filters.cc')
-rw-r--r-- | src/filters.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filters.cc b/src/filters.cc index d5cb8ebb..6fedd7ce 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -835,7 +835,7 @@ void subtotal_posts::report_subtotal(const char * spec_fmt, foreach (post_t * post, component_posts) { date_t date = post->date(); date_t value_date = post->value_date(); -#if defined(__GNUC__) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 6 +#if defined(__GNUC__) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 7 #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wmaybe-uninitialized" #endif @@ -843,7 +843,7 @@ void subtotal_posts::report_subtotal(const char * spec_fmt, range_start = date; if (! range_finish || value_date > *range_finish) range_finish = value_date; -#if defined(__GNUC__) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 6 +#if defined(__GNUC__) && __GNUC__ >= 4 && __GNUC_MINOR__ >= 7 #pragma GCC diagnostic pop #endif } |