a g++ compile warning

Luke Chang Luke.Chang@calix.com
Thu Mar 28 18:59:00 GMT 2002


Hi,

Attached is a C++ file that I created.  It compiles and runs and
gives the correct output when compiled with GNU g++ compiler 
(version 3.0) on Sun Solaris, but I always get the following 
comiple warnings.  Tried without success to get rid of them.
Please help.  Thanks.

Luke Chang
Calix Networks
Lowell, MA

luke.cpp: In function `RandomIterator& _bsearch(RandomIterator,
RandomIterator, 
   T, std::random_access_iterator_tag) [with RandomIterator = 
   std::__normal_iterator<int*, std::vector<int, std::allocator<int> > >, T
= 
   int]':
luke.cpp:13:   instantiated from `RandomIterator& bsearch(RandomIterator,
RandomIterator, T) [with RandomIterator = std::__normal_iterator<int*,
std::vector<int, std::allocator<int> > >, T = int]'
luke.cpp:68:   instantiated from here


-------------- next part --------------
A non-text attachment was scrubbed...
Name: luke.cpp
Type: application/octet-stream
Size: 2127 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20020328/233297a3/attachment.obj>


More information about the Gcc mailing list