From:
[email protected]
Package: matrem
Severity: normal
Tags: patch
When building 'matrem' with gcc-3.4 I get the following error:
g++ -c -I. -I. -DPROG=\"matrem\" -DVERSION=\"1.0\" -O2 -pipe -Wall graphics.cpp -o graphics.o
graphics.cpp: In function `int set_fixed_speed()':
graphics.cpp:120: error: conversion from `int' to non-scalar type `fix' requested
With the attached patch 'matrem' can be compiled using gcc-3.4.
Regards
Andreas Jochens
diff -urN ../tmp-orig/matrem-1.0/graphics.cpp ./graphics.cpp
--- ../tmp-orig/matrem-1.0/graphics.cpp 2004-08-13 14:05:05.593716385 +0200
+++ ./graphics.cpp 2004-08-13 14:05:00.932425009 +0200
@@ -1,4 +1,5 @@
#include <time.h>
#include <string.h>
+#include <math.h>
#include <allegro.h>
#include "graphics.h"
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)