aardappel / procrastitracker

a Windows time tracking application
http://strlen.com/procrastitracker/
500 stars 53 forks source link

fixed building with VS13 #7

Closed mrexodia closed 8 years ago

mrexodia commented 8 years ago

When trying to build on VS13 a compiler error will be thrown on sizeof(tag::name), I replaced this with sizeof(tag().name) which does exactly the same. Also fixed a compile bug when the LinkOutput property does not match the TargetPath property:

warning MSB8012: TargetPath(X) does not match the Linker's OutputFile property value (Y). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).

Obviously not a required fix since you say VS15 is a requirement, but it is not breaking for VS15 building and might save people the time of installing that piece of bloatware :smile:

aardappel commented 8 years ago

PT was originally made with VS2008, and recently upgraded it to 2015.. so I guess I never tested with 2013 :)