Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / linker duplicate section

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. linker duplicate section
#3052
Posted by: 2003-12-05 03:22:52
Hello,
I have comiled all files without any errors,

g++.exe AtolApp.o BookmarkEditDlg.o BrowseBookmarkList.o ......................
ArchiverPlugin.o CompressDlg.o _win/Pidl.o _win/bootstart.o VfsArchive.o atol_dll_release_private.res -o "atol_dll_release.exe" -L"C:/Programme/Dev-Cpp/lib" -L"c:/Programme/wxWindows-2.4.2/lib" -mwindows -lwxmsw242 -lcomdlg32  -luser32  -lgdi32  -lole32  -lwsock32  -lcomctl32  -lctl3d32  -lgcc  -lstdc++  -lshell32  -loleaut32  -ladvapi32  -luuid  -lshlwapi

C:ProgrammeDev-CppBin..libgcc-libmingw323.2........mingw32binld.exe: OpCopy.o: warning: duplicate section `.data$_ZTV14wxCommandEvent' has different size
C:ProgrammeDev-CppBin..libgcc-libmingw323.2........mingw32binld.exe: OpCopy.o: warning: duplicate section `.data$_ZTV7wxEvent' has different size
C:ProgrammeDev-CppBin..libgcc-libmingw323.2........mingw32binld.exe: OpDelete.o: warning: duplicate section `.data$_ZTV14wxCommandEvent' has different size
C:ProgrammeDev-CppBin..libgcc-libmingw323.2........mingw32binld.exe: OpDelete.o: warning: duplicate section `.data$_ZTV7wxEvent' has different size


Execution terminated
Compilation successful

What is the meaning of this, how can I resolve this? is this serious?
Or is a slightly error in my compiled wxwindows lib?

many thanks in advance,
Message2. Re: linker duplicate section
#3053
Posted by: 2003-12-06 03:04:19
it is sufficient to declare wxcommandevent.
in another file, the linker don't give any warnings.

After eliminating the headers bit by bit,
I've figured out, only when wxthread is inluded,
this warning appears (and object.h).
It is more a wxwindows issue, but what does it mean, this duplicate section?

--
Francesco
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥490.00 ·
 
 
¥1,280.00 ·
 
 
¥470.00 ·
 
 
¥307.00 ·
 
 
¥1,280.00 ·
 
 
¥1,480.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0