either edit the makefile to hard-wire the flags, or place wx-config
where it will be found by the makefile.
+- If switching between wxMotif and wxGTK, you should remove the
+ config.cache file manually before running configure again.
+
COMPILING USING MAKEFILES
=========================
functions, try putting the gcc fixinclude file paths early in the
include path.
-- If you get strange memory problems (for example in deletion
- of string arrays), set wxUSE_GLOBAL_MEMORY_OPERATORS to 0 in
- setup.h, and recompile.
+- If you operator-related compile errors or strange memory problems
+ (for example in deletion of string arrays), set wxUSE_GLOBAL_MEMORY_OPERATORS
+ and wxUSE_MEMORY_TRACING to 0 in setup.h, and recompile.
- If you get an internal compiler error in gcc, turn off
optimisations.
- Problems with XtDestroyWidget crashing in ~wxWindow have been
reported on SGI IRIX 6.4. This has not yet been resolved, so
any advice here would be very welcome. See bugs.txt for a
- possible temporary workaround.
+ possible temporary workaround (comment out the final
+ XtDestroyWidget from ~wxWindow in window.cpp).
+
+- If you use flex and bison instead of yacc and lex, you may need
+ to change the relevant part of src/motif/makefile.unx to read:
+
+ ../common/y_tab.c: ../common/parser.y
+ $(YACC) ../common/parser.y
+ mv ../common/parser.tab.c ../common/y_tab.c
+
+ (the 'mv' command needs to be changed)
+
+- Some compilers, such as Sun C++, may give a lot of warnings about
+ virtual functions being hidden. Please ignore these, it's correct C++ syntax.
+ If you find any incorrect instances, though, such as a
+ missing 'const' in an overridden function, please let us know.
Other Notes
-----------