paragui-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-dev] Solved: Visual C++ 6.0


From: Asko Kauppi
Subject: [paragui-dev] Solved: Visual C++ 6.0
Date: Wed, 25 Aug 2004 18:57:06 +0300


ParaGUI now compiles on both MinGW _and_ Visual C++ 6.0 command line tools for me.

The latest fixes for VC++ were:

** pgsignals.h:

#ifdef LIBSIGC_MSVC     //AK: Visual C++ 6.0  (_MSC_VER < 1300)
    // We should make a replacement here..
    /*
        Connection connect(const Slot0<bool>& s) {
                return Signal2<bool, P1, P2>::connect(convert(s, sig_convert0));
        }
        */
#else   // original
        Connection connect(const Slot0<bool>& s) {
                return Signal2<bool, P1, P2>::connect(convert(s, sig_convert0));
        }
#endif

** widgets/pgrichedit.cpp:

#ifdef LIBSIGC_MSVC     //AK: Fix this!
//my_objVerticalScrollbar->sigScrollTrack.connect(slot(*this, &PG_RichEdit::handleScrollTrack)); //my_objVerticalScrollbar->sigScrollPos.connect(slot(*this, &PG_RichEdit::handleScrollTrack)); //my_objHorizontalScrollbar->sigScrollTrack.connect(slot(*this, &PG_RichEdit::handleScrollTrack)); //my_objHorizontalScrollbar->sigScrollPos.connect(slot(*this, &PG_RichEdit::handleScrollTrack));
#else   // original
my_objVerticalScrollbar->sigScrollTrack.connect(slot(*this, &PG_RichEdit::handleScrollTrack)); my_objVerticalScrollbar->sigScrollPos.connect(slot(*this, &PG_RichEdit::handleScrollTrack)); my_objHorizontalScrollbar->sigScrollTrack.connect(slot(*this, &PG_RichEdit::handleScrollTrack)); my_objHorizontalScrollbar->sigScrollPos.connect(slot(*this, &PG_RichEdit::handleScrollTrack));
#endif


This effectively shuts up some signals (scroll tracking) but at least I get further, which is nice.. If someone cares to suggest another (working) solution for this, I'd be charmed. :)

-ak


22.7.2004 kello 23:59, Asko Kauppi kirjoitti:


What are the ways you build the latest ParaGUI cvs code on:

        a) MinGW (gcc 3.2.3)
        b) Visual C++ 6.0

I've tried to get started using MSYS, but just getting deeper and deeper into installing prerequisites (latest, automake-1.8 is required, and MSYS-DTK has 1.7).

What I'm hoping for is an easyly upgradable (cvs update + make) image that'd give static libs for both of the above mentioned compilers. What should I do?

-ak



_______________________________________________
paragui-dev mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paragui-dev






reply via email to

[Prev in Thread] Current Thread [Next in Thread]