Added a flag to warn on C style casts.
Removed all C style flags, and replaced with C++ casts.
Changed a few defines into weak type enums.
These should eventually be changed into strong type enums,
in order to provide type safety!
Integer constructors are really casts too.
We should do link type optimization, in order to get a faster executable.
Merge remote-tracking branch 'upstream/master' into modern_casts

Conflicts:
	Makefile
Merge remote-tracking branch 'upstream/master' into enums

Conflicts:
	src/settings.cpp
Merge remote-tracking branch 'upstream/master' into HEAD

Conflicts:
	Makefile
Merge pull request #87 from Skeen/origin

Link time optimization
Merge pull request #86 from Skeen/enums

Change defines into enums
Merge pull request #84 from Skeen/modern_casts

Modern casting
Add volumatric RepRap GCode for https://github.com/daid/Cura/issues/825
Fix makefile, crashed on msys windows.
Fix makefile, crashed on msys windows.
Do not retract during raft, that is unneeded.
Cross-hatch the surface layers of the raft.
The lto flag does not work on MacOS with multi-arch builds.
removed an unnecessary if()

Nothing too important, but I think it makes the code cleaner :-)
Merge pull request #90 from znib/patch-1

removed an unnecessary if()