Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Issue 187 in google-perftools: Compilation errors while compiling a C++ file that includes google/heap-checker.h
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
codesite-nore...@google.com  
View profile  
 More options Nov 5, 10:23 pm
From: codesite-nore...@google.com
Date: Fri, 06 Nov 2009 03:23:40 +0000
Local: Thurs, Nov 5 2009 10:23 pm
Subject: Issue 187 in google-perftools: Compilation errors while compiling a C++ file that includes google/heap-checker.h
Status: New
Owner: ----

New issue 187 by mohit.aron: Compilation errors while compiling a C++  file  
that includes google/heap-checker.h
http://code.google.com/p/google-perftools/issues/detail?id=187

What steps will reproduce the problem?
1. Write C++ code that #includes <google/heap-checker.h>
2. The compiler would produce errors about a missing config.h
3. It seems to be genuine error - in all the files that get installed by
doing a 'make install', config.h is not installed.

What is the expected output? What do you see instead?

The expectation is that the code should compile. It doesn't.

What version of the product are you using? On what operating system?

Version 1.4. Ubuntu 9.10 running on x86_64 platform.

Please provide any additional information below.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
codesite-nore...@google.com  
View profile  
 More options Nov 6, 12:41 am
From: codesite-nore...@google.com
Date: Fri, 06 Nov 2009 05:41:38 +0000
Local: Fri, Nov 6 2009 12:41 am
Subject: Re: Issue 187 in google-perftools: Compilation errors while compiling a C++ file that includes google/heap-checker.h
Updates:
        Status: Started
        Labels: Type-Defect Priority-Medium

Comment #1 on issue 187 by csilvers: Compilation errors while compiling a  
C++  file that includes google/heap-checker.h
http://code.google.com/p/google-perftools/issues/detail?id=187

Doh!  So it is.  I've removed config.h for the next release.  I guess not  
many people
use this header file...

If you want to fix this up before the next release, remove the config.h  
line, and
also the #ifdef around #include <stdint.h> (keep the #include line though).

I want to do more testing about how portable stdint.h actually is, before  
pushing
this fix more widely.  I'm hoping it's portable enough I can just blindly  
include it,
and not have to use autotools nonsense to fix up the file at compile time.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
codesite-nore...@google.com  
View profile  
 More options Nov 6, 12:55 am
From: codesite-nore...@google.com
Date: Fri, 06 Nov 2009 05:55:41 +0000
Local: Fri, Nov 6 2009 12:55 am
Subject: Re: Issue 187 in google-perftools: Compilation errors while compiling a C++ file that includes google/heap-checker.h

Comment #2 on issue 187 by mohit.aron: Compilation errors while compiling a  
C++  file that includes google/heap-checker.h
http://code.google.com/p/google-perftools/issues/detail?id=187

I did something slightly different. I changed the '#include "config.h"' in  
heap-
checker.h to '#include <google/config.h' and copied the config.h that was  
produced
while compiling the google-perftools-1.4 package to the appropriate  
location in the
install directory. That worked for me. That way, I didn't have to mess with  
stdint.h
either.

Thanks for the quick response.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google