Hi Eric,

On Thu, 07 Dec 2006 08:11:58 +0900, Eric Y. Kow <[EMAIL PROTECTED]> wrote:
>> One more small annoyance.  I get many compiler complaints about -fPIC, e.g.,
>>
>> g++ -c wxc/src/ewxw_main.cpp -o out/wxc/ewxw_main.o -MD
>> -IC:/cygwin/usr/local/include -IC:/cygwin/usr/local/lib/wx/include/msw-
>> unicode-release-static-2.6 -IC:/cygwin/usr/local/include/wx-2.6 -D__WIN95__
>> -D__WXMSW__ -fPIC -Iwxc/include
>> cc1plus.exe: warning: -fPIC ignored for target (all code is position
>> independent)
>
> Hmm, this comes from Ari's patch to add -fPIC to the Makefile.  Perhaps
> we need this to be set by the configure script.  Anyone volunteer to
> submit a patch?

I know another problem exist in Ari's patch if build under Visual C++.
Visual C++ doesn't have inttypes.h. So Visual C++ (VC) doesn't build wxc now.
I attached darcs patch for solving its problem.


I'm sorry for testing Ari's patch is late.

Because current VC project for wxWidgets-2.6.3 doesn't works well my
environment, and I was busy. Jeremy changed VC project from
"..\..\wxWidgets-2.6.3\lib\vc_lib\mswu" to "..\..\wxWidgets-2.6.3\lib\mswu"
in "Update VC++ project file to reflect updated DLL version supporting
wxWidgets 2.6.3" patch. It breaks building my environment but I don't find
where causes problem, soonly.

Nobody pointed out this problem. So I think this is just my envirnments
problem, and I don't send any patch for that.


Attached also includes another patch that fix building error if using
wxWdgets with -enable-odbc or #define wxUSE_ODBC 1 in setup.h (under VC).
It is lacked part of my previous patch.

Best Regards,

-- 
shelarcy <shelarcy    capella.freemail.ne.jp>
http://page.freett.com/shelarcy/

Attachment: db_inttypes.patch
Description: Binary data

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wxhaskell-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to