packjpg / packJPG

A compression program for further compressing JPEG image files
http://packjpg.encode.ru/
GNU Lesser General Public License v3.0
165 stars 26 forks source link

Fix clang/g++ compilation issues #11

Closed TarVanimelde closed 7 years ago

TarVanimelde commented 7 years ago

Fixes the issues present in #7 and #10 :

  1. Adds -std=c++14 to makefile_osx (separately adds the binary to the make clean command)
  2. Adds -std=c++14 to makefile
  3. Replaces stdio.h with cstdio and replaces function-style casts (which are apparently not fully supported on clang/g++) with static_cast.
packjpg commented 7 years ago

Thank you!