[PyQt] sip: template<> %MappedType doesn't allow /AllowNone/

Phil Thompson phil at riverbankcomputing.com
Tue Sep 18 10:02:34 BST 2012


On Mon, 17 Sep 2012 22:10:35 +0200, Mathias.Born at gmx.de wrote:
> On 17.09.2012, 18:44:19 Phil Thompson wrote:
>> On Mon, 10 Sep 2012 23:31:20 +0200, Mathias.Born at gmx.de wrote:
>>> Phil,
>>> 
>>> While using /AlloNone/ on a normal mapped type directive like
>>> 
>>> %MappedType boost::optional<fs::path> /AllowNone/
>>> 
>>> works, sip tells me
>>> 
>>> Deprecation warning : type_mappings.sip.h:269: Annotation is invalid
>>> 
>>> for
>>> 
>>> template<Type>
>>> %MappedType boost::optional<Type> /AllowNone/
>>> 
>>> If this is intended, why this limitiation?
> 
>> Lazy programming on my part - fixed in hg.
> 
>> Phil
> 
> I finally got around updating, but I still get the same error message.

A thought...

Did you update from hg or use a snapshot?

If hg did you change to the default branch?

Phil


More information about the PyQt mailing list