-
Notifications
You must be signed in to change notification settings - Fork 216
GCC warns about unused local typedef #22
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
base: develop
Are you sure you want to change the base?
Conversation
I haven't merged the patch into my own repo yet; I'm just reviewing the code visually... |
These are not macros, just something that will be mentioned in the error message (though I don't find it very elegant). You can try it here: http://coliru.stacked-crooked.com/a/8a7376e0edea7322 The other option is to use BOOST_STATIC_ASSERT_MSG which takes a string, but I believe it prints the message only with c++11. Btw, I don't have a full boost worktree so I didn't run any test on this nor tried to compile it, so if you can check that before merging... :) |
On 15/05/15 11:25 AM, Philippe Daouadi wrote:
Oh, I see. In that case we should try to preserve the exact same
Heh, you should mention that ! I typically expect from a pull request OK, I'll try to do a merge to my local tree and test it, as soon as I Thanks,
|
The convention with BOOST_MPL_ASSERT_MSG seems to be to use capital letters (as the example shows), but I don't mind changing that. Sorry for the test, forgot to mention ^^ |
On 15/05/15 11:47 AM, Philippe Daouadi wrote:
There are arguments both ways: all uppercase may highlight the error
Thanks. I doubt I'll have time before Tuesday, FWIW,
|
Sorry for the delay. Well it did not compile :D Tell me if you prefer all upper or lowercase |
On 20/05/15 08:54 AM, Philippe Daouadi wrote:
I think the first step should be to get this compiling and working, then Thanks,
|
This last patch works, you can test it. I didn't check the error messages (and don't really know how to trigger them actually ^^) |
Bump? |
1 similar comment
Bump? |
8ccdcff
to
3ace4a0
Compare
Same as #18 but on develop.
I amended the commit to add a message on the "must be a complete type" error and I changed another typedef in make_function.hpp:56