diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-04 17:02:36 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-05 10:54:40 +0200 |
commit | e65dcd57fa0ff56e23f75592beb30b88ec5dbca3 (patch) | |
tree | a83ca74217ea6b63bfc2408ab80087274d6c1754 | |
parent | 9fa87eb2042fb7c0640ef9d424e4cb9953e8c356 (diff) |
ISO C++1z does not allow ‘register’ storage class specifier (gcc 7)
-rw-r--r-- | fastos/src/tests/prefetchtest.cpp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/fastos/src/tests/prefetchtest.cpp b/fastos/src/tests/prefetchtest.cpp index 5749ef2ae54..c5acc623874 100644 --- a/fastos/src/tests/prefetchtest.cpp +++ b/fastos/src/tests/prefetchtest.cpp @@ -12,25 +12,20 @@ * ALL RIGHTS RESERVED *************************************************************************/ - - -#include <stdlib.h> -#include <vespa/fastos/fastos.h> #include "tests.h" - +#include <vespa/fastos/time.h> +#include <vespa/fastos/prefetch.h> class PrefetchTestApp : public BaseTest { -private: - public: - virtual ~PrefetchTestApp() {}; + virtual ~PrefetchTestApp() {} bool PrefetchTest () { bool rc = false; int j, size, *a; - register int or1, or2; + int or1, or2; FastOS_Time start, stop; double timeVal; |