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]

[Bug c++/15407] -frepo goes into infinite loop


------- Additional Comments From uttamkumar at hotmail dot com  2004-06-16 21:39 -------
Put the patch as suggested in bug # 8991. Now  I have a linking issue.
Here is the error.
make Tem
g++ -Wall -ansi -ggdb3 -frepo -fPIC -c T.cpp
T.cpp: In function `int main(int, char**)':
T.cpp:10: warning: unused variable `uint32_t i'
T.cpp:10: warning: unused variable `uint32_t num'
g++ -Wall -ansi -ggdb3 -frepo -fPIC -c Def.cpp
g++ -Wall -ansi -ggdb3 -frepo -fPIC -c Msg.cpp
g++ -Wall -ansi -ggdb3 -frepo -fPIC -c Tem.cpp
Tem.cpp: In member function `T* ThreadQueue<T>::GetMsg(long int)':
Tem.cpp:35: warning: `std::vector<T*, std::allocator<T*> >::iterator' is 
   implicitly a typename
Tem.cpp:35: warning: implicit typename is deprecated, please see the 
   documentation for details
g++ -frepo -shared -o libTem.so Tem.o
g++ -ggdb3 -frepo -o Tem T.o Def.o Msg.o -L. -lTem
Undefined                       first referenced
 symbol                             in file
ThreadQueue<Msg>::PutMsg(Msg*)      T.o
ThreadQueue<Msg>::GetMsg(long)      T.o
ThreadQueue<Msg>::ThreadQueue[in-charge](int)T.o
ld: fatal: Symbol referencing errors. No output written to Tem
collect2: ld returned 1 exit status
make: *** [Tem] Error 1


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|DUPLICATE                   |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15407


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