From: SourceForge.net <no...@so...> - 2009-03-22 19:18:44
|
Bugs item #2703968, was opened at 2009-03-22 19:18 Message generated for change (Tracker Item Submitted) made by mikeprotts You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=2703968&group_id=119701 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: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mike Protts (mikeprotts) Assigned to: Nobody/Anonymous (nobody) Summary: FreeBSD Alpha build macro expansion ARGUMENT_TYPE___int64-t Initial Comment: This is a problem on FreeBSD Alpha (64 bit), it does not occur on Linux Intel 32 bit. RexxMethod2 (and others) macro expansion fails, e.g. for: RexxMethod2(int64_t, stream_lines, CSELF, streamPtr, OPTIONAL_CSTRING, option) the int64_t expands to ARGUMENT_TYPE___int64_t, and therefore generates an error. As a quick circumvent I changed to using the OPTIONAL value which worked - e.g.: RexxMethod2(OPTIONAL_int64_t, stream_lines, CSELF, streamPtr, OPTIONAL_CSTRING, option) Typical errors: ===== ./interpreter/streamLibrary/StreamNative.cpp:1729: error: 'ARGUMENT_TYPE___int64_t' does not name a type ./interpreter/streamLibrary/StreamNative.cpp: In function '__uint16_t* stream_lines(RexxMethodContext*, ValueDescriptor*)': ./interpreter/streamLibrary/StreamNative.cpp:1729: error: 'union ValueDescriptor::<anonymous>' has no member named 'value___int64_t' ./interpreter/streamLibrary/StreamNative.cpp:1729: error: 'stream_lines_impl' was not declared in this scope ./interpreter/streamLibrary/StreamNative.cpp: At global scope: ./interpreter/streamLibrary/StreamNative.cpp:1729: error: 'ARGUMENT_TYPE___int64_t' does not name a type *** Error code 1 ===== Failing freebsd alpha gcc version ========= $ gcc --version gcc (GCC) 4.1.2 20061021 prerelease (NetBSD nb3 20061125) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Does work with Linux gcc: =========== # gcc --version gcc (GCC) 4.2.2 Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Mike ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=2703968&group_id=119701 |