GCC warns about unused local typedef#22
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