mirror of
				https://github.com/eledio-devices/thirdparty-miniz.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	Compatibility with older gcc
This commit is contained in:
		| @@ -25,8 +25,8 @@ done | |||||||
|  |  | ||||||
|  |  | ||||||
| echo "int main() { return 0; }" > main.c | echo "int main() { return 0; }" > main.c | ||||||
| gcc -Wpedantic -Wall main.c $OUTPUT_PREFIX.c -o test.out | gcc -pedantic -Wall main.c $OUTPUT_PREFIX.c -o test.out | ||||||
| gcc -ansi -Wpedantic -Wall main.c $OUTPUT_PREFIX.c -o test.out | gcc -ansi -pedantic -Wall main.c $OUTPUT_PREFIX.c -o test.out | ||||||
| if command -v clang | if command -v clang | ||||||
| then | then | ||||||
|         clang -Wall -Wpedantic -fsanitize=unsigned-integer-overflow main.c $OUTPUT_PREFIX.c -o test.out |         clang -Wall -Wpedantic -fsanitize=unsigned-integer-overflow main.c $OUTPUT_PREFIX.c -o test.out | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user