Search the web
Sign In
New User? Sign Up
DatabaseTemplateLibrary · The Database Template Library
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
compiling on ubuntu with gcc 4.2.1   Message List  
Reply | Forward Message #2397 of 2481 |
Re: compiling on ubuntu with gcc 4.2.1

--- In DatabaseTemplateLibrary@yahoogroups.com, "buschnick"
<Soeren.Meyer-Eppler@...> wrote:
>
> > I have added a pre-release of 3.6.11 which fixes the latest gcc 4.1.2
> > compile errors you mentioned. It can be found at:
>
> Thank you.
>
> I now have the following compile error on MSVC2008:
> 1>r:\dtl_3_6_11\lib\variant_row.cpp(1135) : error C2440: 'static_cast'
> : cannot convert from 'const dtl::dtl_variant_t' to '__int64'
> 1> Ambiguous user-defined-conversion
>
> Any ideas?
>

Yeah, in the latest changes I commented out the ODBCINT64 support in
variant_t because it resolved to long int under 64 bit which
conflicted with the existing "long int" cast that variant_t has. I
will look to find a better way to resolve this.

Corwin




Mon May 19, 2008 5:43 pm

corwinjoy
Offline Offline
Send Email Send Email

Forward
Message #2397 of 2481 |
Expand Messages Author Sort by Date

This is a repost since my first message two weeks ago seems to have been swallowed by the moderation queue or something. I'm trying to compile the DTL 3.6.10...
buschnick
Offline Send Email
May 15, 2008
7:39 pm

Hi, I went ahead and had a go compiling DTL under gcc 4.1.2 on redhat linux and got the same error. This is just gcc being stupid and not recognizing member...
Corwin Joy
corwinjoy
Offline Send Email
May 15, 2008
9:00 pm

I have added a pre-release of 3.6.11 which fixes the latest gcc 4.1.2 compile errors you mentioned. It can be found at: ...
Corwin Joy
corwinjoy
Offline Send Email
May 15, 2008
10:21 pm

... Thank you. I now have the following compile error on MSVC2008: 1>r:\dtl_3_6_11\lib\variant_row.cpp(1135) : error C2440: 'static_cast' ... 1>...
buschnick
Offline Send Email
May 19, 2008
5:38 pm

... Yeah, in the latest changes I commented out the ODBCINT64 support in variant_t because it resolved to long int under 64 bit which conflicted with the...
Corwin Joy
corwinjoy
Offline Send Email
May 19, 2008
5:43 pm

Sören, I have added a new version of 3.6.11 in the files section which now compiles on both gcc and visual C++ and resolves the ODBCINT64 issue in a better...
Corwin Joy
corwinjoy
Offline Send Email
May 21, 2008
4:36 pm

I have released 3.6.11. Version 3.6.11; Released May 22, 2008 ***Bugfixes*** 1. Minor changes to compile under gcc 4.1.2. 2. Minor changes to compile under 64...
Corwin Joy
corwinjoy
Offline Send Email
May 23, 2008
5:30 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help