[C++-sig] errors compiling Boost Python example

Joel Uckelman uckelman at nomic.net
Thu Jul 5 17:02:33 CEST 2012


Thus spake Ralf Grosse-Kunstleve:
> 
> It looks like you inserted an extra const (I don't see it in the current
> tutorial) ...
> 
> char const * const greet() {
> 
> It should work if you remove it.

Ha! You're correct. The example program was so short that I just retyped
it, and I made the pointer const out of habit without noticing. Now all
makes sense. Thanks!
 
-- 
J.


More information about the Cplusplus-sig mailing list