[cmake-developers] Use unsigned int for cmLinkInterface:: and cmGeneratorTarget::Multiplicity

Christoph Grüninger foss at grueninger.de
Wed Feb 3 17:25:52 EST 2016


Dear Brad,
thanks for your advice. An accoring patch is attached.

> There is no reason to have negative values for that, so please update
> both cmLinkInterface::Multiplicity and cmGeneratorTarget::Multiplicity
> to use `unsigned int` and follow through with any further changes
> needed for that (I don't think there are any but have not checked).

There is a comparison to "count", which triggered another warning. I
have fixed that one, too.

Bye
Christoph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-cmLinkInterface-and-cmGeneratorTarget-Multiplic.patch
Type: text/x-patch
Size: 1947 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160203/a13453e3/attachment.bin>


More information about the cmake-developers mailing list