A
aaragon
Hello guys,
I got a Mac and I'm trying to compile my code on Mac OS using GCC 4.3.
My code used to compile just fine in Ubuntu with the same compiler but
now it's giving me errors in all template template parameter code.
Anyone has an idea why this is happening???
The error message looks like the following:
element.h:494: error: type/value mismatch at argument 1 in template
parameter list for 'template<template<class, class> class MapPolicy>
class fea::TriangleGaussMap'
element.h:494: error: expected a template of type 'template<class,
class> class MapPolicy', got 'template<class _Key, class _Tp, class
_Compare, class _Alloc> class std::map'
part of the Implementation of that class follows:
template <
class TriangleGaussMap {
....
Thanks for the help!!!
aa
I got a Mac and I'm trying to compile my code on Mac OS using GCC 4.3.
My code used to compile just fine in Ubuntu with the same compiler but
now it's giving me errors in all template template parameter code.
Anyone has an idea why this is happening???
The error message looks like the following:
element.h:494: error: type/value mismatch at argument 1 in template
parameter list for 'template<template<class, class> class MapPolicy>
class fea::TriangleGaussMap'
element.h:494: error: expected a template of type 'template<class,
class> class MapPolicy', got 'template<class _Key, class _Tp, class
_Compare, class _Alloc> class std::map'
part of the Implementation of that class follows:
template <
class TriangleGaussMap {
....
Thanks for the help!!!
aa