Open Bugs | New Bug anonymous
Login/Register

Equi4 SoftwareEdit Bug

Title: Solaris C++ compiler warnings during Metakit compile Status: later
Product: Metakit Severity: minor
Version: 2.4.9.2 Type: suggest
Assign to:
Platform:
sparc solaris 2.6
sun C++ CC: Sun WorkShop 6 update 2 C++ 5.3 Patch
111685-08 2002/06/02
Message:

File:
Description:

Messages

2003/04/29 lvirden
when I configure metakit with this version of Sun's C++ compiler,
there are some warnings:
CC -c -g -I../unix/../include ../unix/../tests/tstore5.cpp -o tstore5.o
"../unix/../include/mk4.inl", line 37: Warning (Anachronism):
operator==(const t
4_i64, const t4_i64) was previously declared "extern", not "inline".
"../unix/../include/mk4.inl", line 42: Warning (Anachronism):
operator<(const t4
_i64, const t4_i64) was previously declared "extern", not "inline".
"../unix/../include/mk4str.inl", line 273: Warning (Anachronism):
operator==(con
st char*, const c4_String&) was previously declared "extern", not "inline".
"../unix/../include/mk4str.inl", line 278: Warning (Anachronism):
operator==(con
st c4_String&, const char*) was previously declared "extern", not "inline".
"../unix/../include/mk4str.inl", line 288: Warning (Anachronism):
operator!=(con
st char*, const c4_String&) was previously declared "extern", not "inline".
"../unix/../include/mk4str.inl", line 293: Warning (Anachronism):
operator!=(con
st c4_String&, const char*) was previously declared "extern", not "inline".
6 Warning(s) detected.
CC -c -g -I../unix/../include -I../unix/../src -I.
../unix/../src/view.cpp -KPI
C -DPIC
"../unix/../include/mk4str.inl", line 273: Warning (Anachronism):
operator==(con
st char*, const c4_String&) was previously declared "extern", not "inline".
"../unix/../include/mk4str.inl", line 278: Warning (Anachronism):
operator==(con
st c4_String&, const char*) was previously declared "extern", not "inline".
"../unix/../include/mk4str.inl", line 288: Warning (Anachronism):
operator!=(con
st char*, const c4_String&) was previously declared "extern", not "inline".
"../unix/../include/mk4str.inl", line 293: Warning (Anachronism):
operator!=(con
st c4_String&, const char*) was previously declared "extern", not "inline".
4 Warning(s) detected.
However, the compile appears to complete correctly and the test suite
appears to be running to completion successfully.
Just thought that the warnings might be something that might need
investigated.
2003/06/27 jcw
Thanks - I'll check this in a future round of MK fixes/tweaks.

Bug Tracker © 2002 McMillan Enterprises, Inc.