Bugs item #2038665, was opened at 2008-08-05 11:33
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2038665&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Pathfinder CVS Head
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Stefan Manegold (stmane)
Assigned to: Sjoerd Mullender (sjoerd)
Summary: PF: runtime fails to compile on Windows

Initial Comment:
With warnings being treated as error, the pathfinder runtime fails to compile 
on Windows:

========
serialize.c
.\..\..\runtime\serialize.mx(2090): error #1740: dllexport/dllimport conflict 
with "xrpc_log_dir" (declared at line 5858 of ".\..\..\runtime\pf_support.mx"); 
dllexport assumed

  xrpc_log_dir() {
  ^

.\..\..\runtime\serialize.mx(2105): error #1740: dllexport/dllimport conflict 
with "xrpc_log_message" (declared at line 5857 of 
".\..\..\runtime\pf_support.mx"); dllexport assumed

  xrpc_log_message(str msg, lng xrpc_seqnr) {
  ^

.\..\..\runtime\serialize.mx(2581): error #1740: dllexport/dllimport conflict 
with "CMDfn_deep_eq" (declared at line 70 of ".\pf_support.proto.h"); dllexport 
assumed

  CMDfn_deep_eq(BAT** resbat, BAT* ws, BAT* litem, BAT* lkind, BAT* ritem, BAT* 
rkind)
  ^

compilation aborted for serialize.c (code 2)
NMAKE : fatal error U1077: '"C:\Program Files 
(x86)\Intel\Compiler\C++\10.1.013\EM64T\Bin\icl.EXE"' : return code '0x2'
========

cf.
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.Int.32.32.d.1-Windows5.1..2008.08.05_00-09-01/make.out.html
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.Int.64.64.d.1-Windows5.2..2008.08.05_00-09-01/make.out.html


In fact, (at least) to me the "design" of the runtime's code base, in 
particular with respect to which source file (code and/or header) and/or 
library implements/exports which function and which one imports/uses which 
function has (with all due respect) become "quite a mess", including cyclic 
dependencies among header files and libraries.
Unixes seem to be quite "forgiving" with this, but Windows (correctly?) is not.

A proper solution asks for a clean and proper "design" of the runtime code base 
(at least wrt. providing/using functions) ...


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2038665&group_id=56967

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to