Request source suffix name changing in GenericRdbms provider

4 messages Options
Embed this post
Permalink
Helio Chissini de Castro

Request source suffix name changing in GenericRdbms provider

Reply Threaded More More options
Print post
Permalink
Hello

At least in two points of Rdbms provider, for now i detected Src/Util and
Src/MySQL/Driver, we have sources with .c suffix ( lower case ).

Since this codes are semantically C++ codes, as requires lots of functions
from C++ ( ex. cstring header requires to be compiled as c++ ) and includes
some FDO headers C++ specific, i request the possibility to move .c suffix for
.cpp suffix.

Why ?
The reason is unless i do some magic and turn the CMakeLists too complex,
cmake understand those files as a common C files, and for this uses gcc to
compile instead of g++, then breaking the compilation.

Is there anything that are preventing this simple, but maybe delicate due
msvc, change ?

[]'s

--
Helio Chissini de Castro
KDE Developer
Brasil/South America Primary Contact
_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals
Greg Boone

RE: Request source suffix name changing in GenericRdbms provider

Reply Threaded More More options
Print post
Permalink
Have you tried making this change and compiling on Windows and Linux?

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Helio Chissini de Castro
Sent: Wednesday, June 10, 2009 5:35 PM
To: [hidden email]
Subject: [fdo-internals] Request source suffix name changing in GenericRdbms provider

Hello

At least in two points of Rdbms provider, for now i detected Src/Util and
Src/MySQL/Driver, we have sources with .c suffix ( lower case ).

Since this codes are semantically C++ codes, as requires lots of functions
from C++ ( ex. cstring header requires to be compiled as c++ ) and includes
some FDO headers C++ specific, i request the possibility to move .c suffix for
.cpp suffix.

Why ?
The reason is unless i do some magic and turn the CMakeLists too complex,
cmake understand those files as a common C files, and for this uses gcc to
compile instead of g++, then breaking the compilation.

Is there anything that are preventing this simple, but maybe delicate due
msvc, change ?

[]'s

--
Helio Chissini de Castro
KDE Developer
Brasil/South America Primary Contact
_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals

_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals
Traian Stanev

RE: Request source suffix name changing in GenericRdbms provider

Reply Threaded More More options
Print post
Permalink

Hi Helio,

I can do the check on Windows if you don't have a Windows machine with Visual Studio available.

Traian


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Greg Boone
Sent: Wednesday, June 10, 2009 5:38 PM
To: FDO Internals Mail List
Subject: RE: [fdo-internals] Request source suffix name changing in GenericRdbms provider

Have you tried making this change and compiling on Windows and Linux?

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Helio Chissini de Castro
Sent: Wednesday, June 10, 2009 5:35 PM
To: [hidden email]
Subject: [fdo-internals] Request source suffix name changing in GenericRdbms provider

Hello

At least in two points of Rdbms provider, for now i detected Src/Util and Src/MySQL/Driver, we have sources with .c suffix ( lower case ).

Since this codes are semantically C++ codes, as requires lots of functions from C++ ( ex. cstring header requires to be compiled as c++ ) and includes some FDO headers C++ specific, i request the possibility to move .c suffix for .cpp suffix.

Why ?
The reason is unless i do some magic and turn the CMakeLists too complex, cmake understand those files as a common C files, and for this uses gcc to compile instead of g++, then breaking the compilation.

Is there anything that are preventing this simple, but maybe delicate due msvc, change ?

[]'s

--
Helio Chissini de Castro
KDE Developer
Brasil/South America Primary Contact
_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals

_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals
Helio Chissini de Castro

Re: Request source suffix name changing in GenericRdbms provider

Reply Threaded More More options
Print post
Permalink
Em Sexta-feira 12 de junho 2009, às 12:23:51, Traian Stanev escreveu:
> Hi Helio,
>
> I can do the check on Windows if you don't have a Windows machine with
> Visual Studio available.
>
> Traian
>

Hello guys, i just back from the extended holiday in Brazil.

Yes, i already tested in Linux and is just fine, i just renamed all .c to .cpp
all files.
Traian, if you can do in Windows, would be nice, beacuse i have only vc
express at home and need all external dependencies installed to compile.

[]'s

--
Helio Chissini de Castro
KDE Developer
Brasil/South America Primary Contact
_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals