sundry/framework — Issue #1: Errors in DataMapper
Author: sundry
Created: 2012-01-13 23:57:59+00:00
State: open

When try,
```cmake .. -DENABLE_DATAMAPPER=YES```

Show this error

```

In file included from /home/brunoalano/sundry/framework/lib/DataMapper/DataMapper.cpp:37:0:
/home/brunoalano/sundry/framework/include/sundry/DataMapper:69:10: error: ‘sundry::DataMapper::DataMapper::DataMapper’ has the same name as the class in which it is declared
In file included from /home/brunoalano/sundry/framework/lib/DataMapper/DataMapper.cpp:37:0:
/home/brunoalano/sundry/framework/include/sundry/DataMapper:143:25: error: type/value mismatch at argument 1 in template parameter list for ‘template class std::vector’
/home/brunoalano/sundry/framework/include/sundry/DataMapper:143:25: error: expected a type, got ‘property’
/home/brunoalano/sundry/framework/include/sundry/DataMapper:143:25: error: template argument 2 is invalid
/home/brunoalano/sundry/framework/include/sundry/DataMapper:146:52: error: invalid use of template-name ‘sundry::DataMapper::Resource::property’ without an argument list
/home/brunoalano/sundry/framework/include/sundry/DataMapper:146:52: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/home/brunoalano/sundry/framework/include/sundry/DataMapper:146:60: error: expected ‘,’ or ‘...’ before ‘.’ token
/home/brunoalano/sundry/framework/lib/DataMapper/DataMapper.cpp: In constructor ‘sundry::DataMapper::DataMapper::DataMapper(sundry::DataMapper::DataMapper::mapperConnection, sundry::DataMapper::DataMapper::Resource)’:
/home/brunoalano/sundry/framework/lib/DataMapper/DataMapper.cpp:53:1: error: ‘dbResource’ has incomplete type
/home/brunoalano/sundry/framework/include/sundry/DataMapper:70:10: error: forward declaration of ‘struct sundry::DataMapper::DataMapper::Resource’
/home/brunoalano/sundry/framework/lib/DataMapper/DataMapper.cpp: At global scope:
/home/brunoalano/sundry/framework/lib/DataMapper/DataMapper.cpp:69:48: error: ‘property’ does not name a type
/home/brunoalano/sundry/framework/lib/DataMapper/DataMapper.cpp:69:63: error: expected unqualified-id before ‘fieldType’
/home/brunoalano/sundry/framework/lib/DataMapper/DataMapper.cpp:69:63: error: expected ‘)’ before ‘fieldType’
/home/brunoalano/sundry/framework/lib/DataMapper/DataMapper.cpp:69:63: error: expected initializer before ‘fieldType’
make[2]: ** [lib/DataMapper/CMakeFiles/sundry_datamapper.dir/DataMapper.cpp.o] Erro 1
make[1]: ** [lib/DataMapper/CMakeFiles/sundry_datamapper.dir/all] Erro 2
make: ** [all] Erro 2
```