diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/google/heap-checker.h | 3 | ||||
-rw-r--r-- | src/google/heap-profiler.h | 3 | ||||
-rw-r--r-- | src/google/malloc_extension.h | 3 | ||||
-rw-r--r-- | src/google/malloc_extension_c.h | 3 | ||||
-rw-r--r-- | src/google/malloc_hook.h | 3 | ||||
-rw-r--r-- | src/google/malloc_hook_c.h | 3 | ||||
-rw-r--r-- | src/google/profiler.h | 3 | ||||
-rw-r--r-- | src/google/stacktrace.h | 3 | ||||
-rw-r--r-- | src/google/tcmalloc.h | 3 |
9 files changed, 27 insertions, 0 deletions
diff --git a/src/google/heap-checker.h b/src/google/heap-checker.h index 8aa5ea4..7cacf1f 100644 --- a/src/google/heap-checker.h +++ b/src/google/heap-checker.h @@ -30,4 +30,7 @@ /* The code has moved to gperftools/. Use that include-directory for * new code. */ +#ifdef __GNUC__ +#warning "google/heap-checker.h is deprecated. Use gperftools/heap-checker.h instead" +#endif #include <gperftools/heap-checker.h> diff --git a/src/google/heap-profiler.h b/src/google/heap-profiler.h index be43959..3fc26cf 100644 --- a/src/google/heap-profiler.h +++ b/src/google/heap-profiler.h @@ -31,4 +31,7 @@ /* The code has moved to gperftools/. Use that include-directory for * new code. */ +#ifdef __GNUC__ +#warning "google/heap-profiler.h is deprecated. Use gperftools/heap-profiler.h instead" +#endif #include <gperftools/heap-profiler.h> diff --git a/src/google/malloc_extension.h b/src/google/malloc_extension.h index 55150e5..7cacc34 100644 --- a/src/google/malloc_extension.h +++ b/src/google/malloc_extension.h @@ -30,4 +30,7 @@ /* The code has moved to gperftools/. Use that include-directory for * new code. */ +#ifdef __GNUC__ +#warning "google/malloc_extension.h is deprecated. Use gperftools/malloc_extension.h instead" +#endif #include <gperftools/malloc_extension.h> diff --git a/src/google/malloc_extension_c.h b/src/google/malloc_extension_c.h index 87d727b..f34a835 100644 --- a/src/google/malloc_extension_c.h +++ b/src/google/malloc_extension_c.h @@ -31,4 +31,7 @@ /* The code has moved to gperftools/. Use that include-directory for * new code. */ +#ifdef __GNUC__ +#warning "google/malloc_extension_c.h is deprecated. Use gperftools/malloc_extension_c.h instead" +#endif #include <gperftools/malloc_extension_c.h> diff --git a/src/google/malloc_hook.h b/src/google/malloc_hook.h index e5b8e7c..371aba4 100644 --- a/src/google/malloc_hook.h +++ b/src/google/malloc_hook.h @@ -30,4 +30,7 @@ /* The code has moved to gperftools/. Use that include-directory for * new code. */ +#ifdef __GNUC__ +#warning "google/malloc_hook.h is deprecated. Use gperftools/malloc_hook.h instead" +#endif #include <gperftools/malloc_hook.h> diff --git a/src/google/malloc_hook_c.h b/src/google/malloc_hook_c.h index e3ac0a4..f882c16 100644 --- a/src/google/malloc_hook_c.h +++ b/src/google/malloc_hook_c.h @@ -31,4 +31,7 @@ /* The code has moved to gperftools/. Use that include-directory for * new code. */ +#ifdef __GNUC__ +#warning "google/malloc_hook_c.h is deprecated. Use gperftools/malloc_hook_c.h instead" +#endif #include <gperftools/malloc_hook_c.h> diff --git a/src/google/profiler.h b/src/google/profiler.h index 67a89c1..3674c9e 100644 --- a/src/google/profiler.h +++ b/src/google/profiler.h @@ -31,4 +31,7 @@ /* The code has moved to gperftools/. Use that include-directory for * new code. */ +#ifdef __GNUC__ +#warning "google/profiler.h is deprecated. Use gperftools/profiler.h instead" +#endif #include <gperftools/profiler.h> diff --git a/src/google/stacktrace.h b/src/google/stacktrace.h index eb761ca..53d2947 100644 --- a/src/google/stacktrace.h +++ b/src/google/stacktrace.h @@ -30,4 +30,7 @@ /* The code has moved to gperftools/. Use that include-directory for * new code. */ +#ifdef __GNUC__ +#warning "google/stacktrace.h is deprecated. Use gperftools/stacktrace.h instead" +#endif #include <gperftools/stacktrace.h> diff --git a/src/google/tcmalloc.h b/src/google/tcmalloc.h index c7db631..a2db70e 100644 --- a/src/google/tcmalloc.h +++ b/src/google/tcmalloc.h @@ -31,4 +31,7 @@ /* The code has moved to gperftools/. Use that include-directory for * new code. */ +#ifdef __GNUC__ +#warning "google/tcmalloc.h is deprecated. Use gperftools/tcmalloc.h instead" +#endif #include <gperftools/tcmalloc.h> |