Google Groups Home
Help | Sign in
Compiling in Visual Studio 2008
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - 2 new - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
KRFournier  
View profile
 More options Mar 25, 1:45 pm
From: KRFournier <kfourn...@srpcs.com>
Date: Tue, 25 Mar 2008 10:45:07 -0700 (PDT)
Local: Tues, Mar 25 2008 1:45 pm
Subject: Compiling in Visual Studio 2008
I stumbled upon this library while searching for a simple XPath
solution. Of all the libraries, this one looks to least complex.
However, when I attempt to compile the VC7 project included with the
download, I get 117 errors and 328 warnings.

Most of the errors and warnings seem to be simple fixes, but I thought
it best to ask here first whether or not anyone else has successfully
compiled the library in Visual Studio 2008, especially considering the
work-in-progress nature of the library.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
KRFournier  
View profile
 More options Mar 25, 2:11 pm
From: KRFournier <kfourn...@srpcs.com>
Date: Tue, 25 Mar 2008 11:11:16 -0700 (PDT)
Local: Tues, Mar 25 2008 2:11 pm
Subject: Re: Compiling in Visual Studio 2008
Okay, I have more information on this. The warnings all have to do, in
large part, to type conversions between double and int. No biggie, I
just turned down the warning level. On warning bothers me though on
line 184 of system_format.h:

FLAG_SIGNED =(1)<<32,

The warning is "shift count negative or too big, undefined behavior".
Doesn't this cause an overflow on 32-bit platforms, or am I missing
something? My experience is limited to Visual Studio, so I don't know
how other compilers might treat this differently.

The errors were due to the fact that TRANSACTION_COMMIT and
TRANSACTION_ROLLBACK (defined on line 738 of language_sql.h) are
macros defined in WinNT.h. To work around it, for now, I've renamed
TRANSACTION_BEGIN, TRANSACTION_COMMIT, and TRANSACTION_ROLLBACK to
SQL_TRANSACTION_BEGIN, SQL_TRANSACTION_COMMIT, and
SQL_TRANSACTION_ROLLBACK.

I can compile now, so I'm happy. I hope the above information will
give you some insight as to what the VS2008 users might encounter
using this framework.

And in case I haven't said it, I have been drooling all over the
Reason Library since reading the documentation and examples. Simple C+
+ libraries are difficult enough to find let alone an entire
framework. I predict this library will be the next the big thing for C+
+ developers, if not the Reason (pun intended) that C++ remains the
power tool of choice.

On Mar 25, 10:45 am, KRFournier <kfourn...@srpcs.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Emerson Clarke  
View profile
 More options Mar 26, 10:42 am
From: "Emerson Clarke" <emerson.cla...@gmail.com>
Date: Wed, 26 Mar 2008 10:42:34 -0400
Local: Wed, Mar 26 2008 10:42 am
Subject: Re: Compiling in Visual Studio 2008
Thanks for the feedback, im glad you managed to get it compiling.

In general i dont worry too much about warning messages, there are
bigger fish to fry, but the one you pointed out in the formatting code
is indeed a bug, as the bit will overflow.

Youl have to forgive me since i dont regularly compile under VC8, but
im pretty sure i checked that before releasing the code.  Ive not
encountered the macro collision you seemed to have had, perhaps it has
something to do with the VC8 SDK or a windows header included
elsewhere in your project.  In my experience, windows header files are
disastrous, and i try not to include them anywhere if possible...

Its great that you find Reason to be simple and easy to use, it was my
hope that other developers would find it a refreshing change from the
usual unneeded complexity of modern software frameworks.  And if i can
manage to encourage more adoption then i certainly hope that it will
be the next big thing in C++.  But im reliant on users such as
yourself spreading the word ;)

Ill be releasing a new version within the next couple of months, since
that last release is a year old now you can expect some pretty big
changes including full signal/slot event/delegate support, unicode,
smart pointers, an enhanced iterator idiom, more collections, and
system utilities like atomic operations, process manipulation, shared
memory, memory mapped files etc.

Thanks,

Emerson

On 3/25/08, KRFournier <kfourn...@srpcs.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google