|
|
Choosing A Webhost: |
CVS update of carob/include (3 files): msg#00092db.carob.cvs
Date: Friday, March 17, 2006 @ 12:46:49 Author: marc Path: /cvsroot/carob/carob/include Modified: Common.hpp (1.37 -> 1.38) DriverResultSet.hpp (1.37 -> 1.38) SQLDataSerialization.hpp (1.13 -> 1.14) Enhanced comments about C99 (non-C++) intNN_t types --------------------------+ Common.hpp | 5 ----- DriverResultSet.hpp | 2 +- SQLDataSerialization.hpp | 15 +++++++++++++-- 3 files changed, 14 insertions(+), 8 deletions(-) Index: carob/include/Common.hpp diff -u carob/include/Common.hpp:1.37 carob/include/Common.hpp:1.38 --- carob/include/Common.hpp:1.37 Fri Mar 17 10:16:53 2006 +++ carob/include/Common.hpp Fri Mar 17 12:46:49 2006 @@ -26,11 +26,6 @@ #include <string> -// Uncomment to get definition of uint8_t etc. (needed with gcc<3.4 for instance) -// #include <stdint.h> -// or you can try this one: -// #include <cstdint> - #define DEBUG_PRE L"DEBUG:\t" #define INFO_PRE L"INFO:\t" #define WARN_PRE L"WARN:\t" Index: carob/include/DriverResultSet.hpp diff -u carob/include/DriverResultSet.hpp:1.37 carob/include/DriverResultSet.hpp:1.38 --- carob/include/DriverResultSet.hpp:1.37 Mon Mar 13 19:20:21 2006 +++ carob/include/DriverResultSet.hpp Fri Mar 17 12:46:49 2006 @@ -22,7 +22,7 @@ #ifndef DRIVERRESULTSET_H_ #define DRIVERRESULTSET_H_ -#include "SQLDataSerialization.hpp" +#include "SQLDataSerialization.hpp" // brings C99 stdint.h (intNN_t, long long etc.) #include "CarobException.hpp" #include <vector> Index: carob/include/SQLDataSerialization.hpp diff -u carob/include/SQLDataSerialization.hpp:1.13 carob/include/SQLDataSerialization.hpp:1.14 --- carob/include/SQLDataSerialization.hpp:1.13 Fri Feb 24 18:34:19 2006 +++ carob/include/SQLDataSerialization.hpp Fri Mar 17 12:46:49 2006 @@ -22,12 +22,23 @@ #ifndef SQLDATASERIALIZATION_H_ #define SQLDATASERIALIZATION_H_ -#include <stdint.h> // for uint8_t, int32_t, uint32_t, int64_t, uint64_t #include "CarobException.hpp" - #include "Common.hpp" // for java_byte: cannot forward declare typedefs + +#include <stdint.h> // for uint8_t, int32_t, uint32_t, int64_t, uint64_t +// Alternative: +// #include <cstdint> + +// Warning: this header and all the types it defines (including "long +// long") are part of C99 and are MISSING from C++98. + +// See: +// - "Incompatibilities Between ISO C and ISO C++" - David R. Tribble +// - C++ Technical Report 1 (TR1) + + namespace CarobNS { class TypeTag;
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | CVS update of carob/include (Common.hpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
|---|---|
| Next by Date: | CVS update of carob/src (Common.cpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Previous by Thread: | CVS update of carob (publisher.sh), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Next by Thread: | CVS update of odbsequoia/src (util.cpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|