This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/6529: MQ and c++



>Number:         6529
>Category:       c++
>Synopsis:       MQ and c++
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 01 05:26:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     tojensen@grundfos.com
>Release:        unknown-1.0
>Organization:
>Environment:
Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/2.95.3/specs
gcc version 2.95.3 20010315 (release)
>Description:
When I use c++ with a cpp file that have included imgi.hpp(MQ from ibm) the screen is frosen after thise errors:

tbj@humber:/udv/gbj_prog/logserver/api_cpp> c++ test.cpp
In file included from /usr/include/imqitm.hpp:23,
                 from /usr/include/imqbin.hpp:23,
                 from /usr/include/imqi.hpp:23,
                 from test.cpp:1:
/usr/include/imqerr.hpp:50: parse error before `&'
/usr/include/imqerr.hpp:50: `ImqErr::operator =(...)' must take exactly one argu
ment
In file included from /usr/include/imqbin.hpp:23,
                 from /usr/include/imqi.hpp:23,
                 from test.cpp:1:
/usr/include/imqitm.hpp:34: parse error before `&'
/usr/include/imqitm.hpp:34: `ImqItm::operator =(...)' must take exactly one argu
ment
In file included from /usr/include/imqi.hpp:23,
                 from test.cpp:1:
/usr/include/imqbin.hpp:42: parse error before `&'
/usr/include/imqbin.hpp:42: `ImqBin::operator =(...)' must take exactly one argu
ment
/usr/include/imqbin.hpp:43: parse error before `&'
/usr/include/imqbin.hpp:43: `ImqBin::operator ==(...)' must take exactly one arg
ument
>How-To-Repeat:
Program 1(Works):
void main() {
}

Program 2(no error and never ends compilations)
#include <imqi.hpp>
void main() {
}
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]