summaryrefslogtreecommitdiff
path: root/2d/wrappers
diff options
context:
space:
mode:
authorPieter Slabbert <blob626@gmail.com>2013-08-23 17:49:52 +0200
committerPieter Slabbert <blob626@gmail.com>2013-08-23 17:49:52 +0200
commit7af9207daa872c8a0a1c71c4a81a91fc0ee1c025 (patch)
treecb1751cfc3b03756640912cad43fde7c63b04157 /2d/wrappers
parent69ad360ecea1f939d13e8f922d13975cc728c85d (diff)
Add (ice-9 format) module to imports for freeimage and ftgl
freeimage.scm and ftgl.scm were throwing warnings when running make about a unsupported format option GEN 2d/wrappers/freeimage.go 2d/wrappers/freeimage.scm:120:6: warning: "<freeimage-bitmap ~x width: ~d height: ~d bpp: ~d>": unsupported format option ~x, use (ice-9 format) instead wrote `2d/wrappers/freeimage.go' GEN 2d/wrappers/ftgl.go 2d/wrappers/ftgl.scm:62:6: warning: "<ftgl-font ~x>": unsupported format option ~x, use (ice-9 format) instead 2d/wrappers/ftgl.scm:100:6: warning: "<ftgl-simple-layout ~x>": unsupported format option ~x, use (ice-9 format) instead wrote `2d/wrappers/ftgl.go' GEN 2d/wrappers/gl.go wrote `2d/wrappers/gl.go' adding the modules to the module definition of each file fixes it
Diffstat (limited to '2d/wrappers')
-rw-r--r--2d/wrappers/freeimage.scm3
-rw-r--r--2d/wrappers/ftgl.scm3
2 files changed, 4 insertions, 2 deletions
diff --git a/2d/wrappers/freeimage.scm b/2d/wrappers/freeimage.scm
index 3192dbb..b29e950 100644
--- a/2d/wrappers/freeimage.scm
+++ b/2d/wrappers/freeimage.scm
@@ -23,7 +23,8 @@
(define-module (2d wrappers freeimage)
#:use-module (system foreign)
- #:use-module (2d wrappers util))
+ #:use-module (2d wrappers util)
+ #:use-module (ice-9 format))
(define libfreeimage (dynamic-link "libfreeimage"))
diff --git a/2d/wrappers/ftgl.scm b/2d/wrappers/ftgl.scm
index f44443b..1d18fad 100644
--- a/2d/wrappers/ftgl.scm
+++ b/2d/wrappers/ftgl.scm
@@ -23,7 +23,8 @@
(define-module (2d wrappers ftgl)
#:use-module (system foreign)
- #:use-module (2d wrappers util))
+ #:use-module (2d wrappers util)
+ #:use-module (ice-9 format))
(define libftgl (dynamic-link "libftgl"))