From d81fcf73ffe87f8f653b88e5ae07dd10e7179fa6 Mon Sep 17 00:00:00 2001 From: Wouter van Heyst <larstiq-bforge@larstiq.dyndns.org> Date: Sat, 5 Jul 2003 11:27:50 +0000 Subject: [PATCH] Multiline string literals are deprecated in gcc3.3, fixes build error --- extern/ode/dist/ode/src/timer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/extern/ode/dist/ode/src/timer.cpp b/extern/ode/dist/ode/src/timer.cpp index 09e9c5f59b0..87cb9f6f2fe 100644 --- a/extern/ode/dist/ode/src/timer.cpp +++ b/extern/ode/dist/ode/src/timer.cpp @@ -106,9 +106,9 @@ double dTimerTicksPerSecond() static inline void getClockCount (unsigned long cc[2]) { - asm volatile (" - rdtsc - movl %%eax,(%%esi) + asm volatile ("\n\ + rdtsc\n\ + movl %%eax,(%%esi)\n\ movl %%edx,4(%%esi)" : : "S" (cc) : "%eax","%edx","cc","memory"); } @@ -116,8 +116,8 @@ static inline void getClockCount (unsigned long cc[2]) static inline void serialize() { - asm volatile (" - mov $0,%%eax + asm volatile ("\n\ + mov $0,%%eax\n\ cpuid" : : : "%eax","%ebx","%ecx","%edx","cc","memory"); } -- GitLab