Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiling bug with gcc 4.8.1 #1018

Closed
li7hui opened this issue Nov 18, 2013 · 2 comments
Closed

compiling bug with gcc 4.8.1 #1018

li7hui opened this issue Nov 18, 2013 · 2 comments
Assignees
Labels
compiler: gcc difficulty: easy Good issues for starting out with HPX development type: defect
Milestone

Comments

@li7hui
Copy link

li7hui commented Nov 18, 2013

there is compiling bug at line 94 and 114 at file: hpx/util/reinitializable_static.hpp

bug 1) at line 94
where

reinit_register(boost::bind(
            &reinitializable_static::value_construct\<U\>, pv),
            &reinitializable_static::destruct);

should be

reinit_register(boost::bind(
            &reinitializable_static<U>::value_construct, pv),
            &reinitializable_static::destruct);

bug 2) at line 114:

boost::bind(&reinitializable_static::value_constructor<U>,
                const_cast<U const *>(boost::addressof(val))));

should be:

boost::bind(&reinitializable_static<U>::value_constructor,
                const_cast<U const *>(boost::addressof(val))));
@hkaiser
Copy link
Member

hkaiser commented Nov 18, 2013

We believe the code is correct as it is. Could you add the compilation error you're seeing to this ticket, please?

@li7hui
Copy link
Author

li7hui commented Nov 18, 2013

Hello,

The error says:
C++ “expected primary-expression before ‘<’ token” error

Do I missed some compiling parameters in configure when compiling?


From: Hartmut Kaiser [notifications@github.com]
Sent: Monday, November 18, 2013 11:00 AM
To: STEllAR-GROUP/hpx
Cc: Hui Li
Subject: Re: [hpx] compiling bug with gcc 4.8.1 (#1018)

We believe the code is correct as it is. Could you add the compilation error you're seeing to this ticket, please?


Reply to this email directly or view it on GitHubhttps://github.com//issues/1018#issuecomment-28710199.

@ghost ghost assigned hkaiser Nov 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler: gcc difficulty: easy Good issues for starting out with HPX development type: defect
Projects
None yet
Development

No branches or pull requests

2 participants