Vadim Zeitlin
49a63afbad
Avoid CRT deprecation warnings for MSVC build using makefiles too.
...
Define _CRT_SECURE_NO_DEPRECATE, _CRT_NON_CONFORMING_SWPRINTFS and
_SCL_SECURE_NO_WARNINGS when using makefiles to build the library too for
consistency with the project files.
These defines are only needed for VC8 and later but should do no harm for the
previous versions.
See #11009 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-07 21:38:31 +00:00
Vadim Zeitlin
ba7512e14d
Rebake all project files to reflect MSVC deprecation warnings defines.
...
Rebake all the projects after the changes of r70182, even if they're only
really needed for the library itself, the other project files should
correspond to the bakefiles contents too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-07 21:38:09 +00:00
Vadim Zeitlin
51ec29ea5d
Always link with expat in monolithic build.
...
Fix linking errors when using wxXML in sttaic monolithic build: in this case
we must link with expat but it was listed too early, before wxWidgets
libraries using it, in the bakefile-generated makefiles.
Now add it to the end of the linker command line too by including -lexpat in
EXTRALIBS_FOR_BASE which are appended to the linker arguments.
Notice that now -lexpat is linked twice because it is still added by
<wx-lib>xml</wx-lib> in bakefiles, even in monolithic build, but I don't know
how to avoid it and it is harmless anyhow.
Closes #12573 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-25 13:28:01 +00:00
Dimitri Schoolwerth
4c51a665c6
Fixed various typos.
...
Applied patch by snowleopard2 fixing a bunch of typos such as misspellings and double words in the documentation. Combined the patch with some local queued typos waiting to be committed as well as adding new typo fixes inspired by the patch.
Function names with American spelling were not changed nor was third-party code touched. The only code changes involve some changes in strings that are translated ("Can not" -> "Cannot").
Closes #13063 (again).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-03-22 14:17:38 +00:00
Vadim Zeitlin
57c7447463
Link console programs with PNG library in monolithic build.
...
PNG images are used by the main wxWidgets library itself now and so linking
with the monolithic wx library introduces dependencies on PNG as well, even
for the console applications. Link them with linpng to avoid linker errors.
Closes #12889 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-05 20:25:09 +00:00
Vadim Zeitlin
00eef16d51
Rebake everything using bakefile 0.2.9.
...
Update configure and bakefile.m4 for the new version too.
Also add the missing makefiles and projects for the XTI sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-03 15:02:45 +00:00
Francesco Montorsi
ed923a37e5
better error message when an inconsistency has been found
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-11 21:10:18 +00:00
Václav Slavík
b796194b15
Regenerated makefiles after removing USE_GDIPLUS.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-09 14:14:26 +00:00
Kevin Ollivier
00fb97de2c
Rebake.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-09 19:56:18 +00:00
Kevin Ollivier
da8b1d4b3b
Rebake from clean wx tree.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-04 00:45:45 +00:00
Vadim Zeitlin
94b6ce7f4b
Use X64 machine type for MSVC linker instead of old AMD64.
...
The officially supported machine type name is X64 now, even if AMD64 is still
supported.
Closes #10711 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-08 16:36:37 +00:00
Kevin Ollivier
f82b7036e8
Rebake after last commit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-18 19:22:58 +00:00
Kevin Ollivier
a7ebaf0ddd
Bakefile 0.2.8 rebake.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-31 20:56:47 +00:00
Vadim Zeitlin
8c9833d09e
Rebaked using post-0.2.7 svn version of bakefile.
...
Unfortunately 0.2.7 release contained a bug in msvc backend which resulted in
warnings generated for each file compiled. Apply the fix from bakefile svn to
fix this (and test if no other problems are found).
Also update all makefile.unx after changes of r62477.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-23 17:48:21 +00:00
Vadim Zeitlin
7880889720
Rebake everything using bakefile 0.2.7.
...
Also updated aclocal inputs and regenerated configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-22 16:53:10 +00:00
Kevin Ollivier
d5e7ffcf7a
Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-08 04:07:02 +00:00
Vadim Zeitlin
d12d9edacb
Rebake all the samples, demos and tests makefiles.
...
This should have been committed together with the changes to the debug flags
handling in build/bakefiles in r61887.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-12 13:38:08 +00:00
Vadim Zeitlin
43b2d5e7c3
Put braces around all calls to wxLogFunctions() inside an if statement.
...
This suppresses all the remaining g++ -Wparentheses warnings and uses consistent style everywhere.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-20 16:47:54 +00:00
Vadim Zeitlin
74e67db795
update IfaceCheckLog definition after wxLog::DoLogXXX() changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-08 16:06:46 +00:00
Vadim Zeitlin
8a28bf768c
fix harmless warnings (mostly about unused parameters/variables)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 12:48:44 +00:00
Vadim Zeitlin
73df4a1e3c
fix (bogus) warning about uninitialized variable in release MSVC build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:26:46 +00:00
Vadim Zeitlin
ab5c51e5b2
don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-12 09:13:36 +00:00
Kevin Ollivier
23513e07f5
Rebake after latest changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 02:04:16 +00:00
Chris Elliott
95ff11c4bb
update bakefile to 0.2.6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-24 10:36:24 +00:00
Francesco Montorsi
d196416cad
fix bug when warning string contains percent signs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 17:53:07 +00:00
Francesco Montorsi
181c400b74
be x86_64-friendly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 17:52:46 +00:00
Francesco Montorsi
15b8639ec8
include the path to the real setup.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 17:52:18 +00:00
Kevin Ollivier
7da00c46e1
Land the rest of the changes made by a rebake after r59067.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 20:11:39 +00:00
Vadim Zeitlin
b44f5137ce
link with wininet.lib under Windows to avoid linking errors in wxUSE_URL_NATIVE==1 build ( #10338 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 13:33:51 +00:00
Francesco Montorsi
5fa507c8ca
fix an important bug: ifacecheck was parsing only <sectiondef> with kind==public-func or kind==protected-func; it was ignoring kind==user-defined and in any case the access specifier must be taken from the 'prot' attribute of <memberdef> nodes instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 22:07:05 +00:00
Francesco Montorsi
d56f17d882
automated ifacecheck fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 15:36:37 +00:00
Vadim Zeitlin
b0e87e57c3
use wxSUPPRESS_DOLOG_HIDE_WARNING to suppress warnings about hiding base class DoLog() overloads
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 16:47:33 +00:00
Francesco Montorsi
6e6b083df2
avoid false warnings for wxThread and wxIPAddress
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-15 11:29:21 +00:00
Vadim Zeitlin
eb7b690a4f
fix yet another VC6 compilation error because of loop variable reuse
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 16:44:39 +00:00
Vadim Zeitlin
2985d7b76c
fix another VC6 compilation error because of loop variable reuse
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 14:01:56 +00:00
Francesco Montorsi
0a1bce698f
fix VC6 broken for variable scope handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-09 16:49:52 +00:00
Francesco Montorsi
e2d1c0e72b
more intelligence to avoid false warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-09 16:30:50 +00:00
Francesco Montorsi
7f8fae980f
fix VC6 builds by removing variadic macros; use standard wxLogXXX functions instead, together with a new wxLog-derived target to print everything on stdout
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-09 15:36:36 +00:00
Francesco Montorsi
027c8a000a
generate the output gcc XML file always in the same folder where 'rungccxml.sh' script is placed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-08 14:38:36 +00:00
Francesco Montorsi
187c2f81bc
a few other means to avoid false positives
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:30:50 +00:00
Francesco Montorsi
83fdf79672
fixed some false positives; fixed method declaration-position detection also for operators
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 21:16:01 +00:00
Vadim Zeitlin
506e9b7ed2
rebaked using bakefile 0.2.5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 16:40:51 +00:00
Francesco Montorsi
96c6575597
output the list of the undocumented wx classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 20:08:11 +00:00
Francesco Montorsi
f3998820a3
further additions to avoid false warnings (ActsAsDefaultCtor, better wxArgumentType::SetDefaultValue)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 19:49:48 +00:00
Vadim Zeitlin
11866e8e33
compilation fix for PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 22:32:41 +00:00
Vadim Zeitlin
71179c67de
get rid of unused variable warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 22:30:04 +00:00
Francesco Montorsi
fce3374f35
fix two bugs: 1) the missing NOT in the if (real) test; 2) the missing +1 in getID() function; add many checks and log messages
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 22:51:26 +00:00
Vadim Zeitlin
7a0007346b
STL build compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 21:20:46 +00:00
Vadim Zeitlin
e7bed112b8
fix errors due to missing wxPrintf() declaration in STL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 09:02:27 +00:00
Vadim Zeitlin
7da8bfe30d
add VC9 project files ( closes #9960 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 16:42:00 +00:00