[Networkit] [patch] Make Graph.h not emit warnings when compiling with -pendantic-errors

Matteo Riondato matteo at cs.brown.edu
Fri Sep 4 23:57:44 CEST 2015


This is obviously a pedantic change… =)

I tend to compile my code with
"-Wextra -Wall -Wstrict-aliasing=1 -Werror -pedantic-errors”, and the attached patch makes my code (that includes Graph.h) compile without warnings/errors.

Matteo

 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graph_h.diff
Type: application/octet-stream
Size: 1309 bytes
Desc: not available
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20150904/2c8c9473/attachment.obj>
-------------- next part --------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20150904/2c8c9473/attachment.sig>


More information about the NetworKit mailing list