Skip to content

Conversation

thekhalifa
Copy link
Contributor

Fix several examples that don't compile when running make STOP_ON_ERROR=y
Compiled and tested on Linux

Allegro5 seg faults when it's initialised with an older version.
Change the example to init with current version.

Note: this is probably better to fix in the header file
inc/allegro5.bi, but that may need more testing
Cairo examples are calculating the 'stride' using the size
of Integer, which is not lining up correctly and seg faults.

Replace with cairo's own stride calculation.
Fixes sf# 932
This allows it to compile on non-Win32.
Additionally, sort headers alphabetically.
- Remove inclib from header to allow it to build without
  looking for a dynamic library
- Update makefile to build static library first before test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant