+1999-10-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/support/syscall.C (Systemcalls::kill):
+ src/support/filetools.C (PutEnv, PutEnvPath):
+ src/lyx_cb.C (addNewlineAndDepth):
+ src/FontInfo.C (FontInfo::resize): condition some #warning
+ directives with WITH_WARNINGS.
+
+
1999-10-28 Lars Gullik Bjønnes <larsbj@lyx.org>
* src/form1.C (create_form_Figure): added a couple fo "no-c-format"
and Digital C++ version 6.1. Please tell us your experience with other
compilers.
-If you compile LyX with gcc, you should not need to have libg++ installed
-on most systems. However, see the note in the section `Problems'.
-
If you make modifications to files in src/ (for example by applying a
patch), you will need to have the GNU gettext package installed, due to
some dependencies in the makefiles. You can find the latest (alpha)
/// Build newly sized font string
string FontInfo::resize(string const & font, int size) const {
// Find the position of the size spec
+#ifdef WITH_WARNINGS
#warning rewrite to use std::string constructs
+#endif
int cut = 0, before = 0, after = 0;
for (string::size_type i = 0; i < font.length(); ++i) {
if (font[i] == '-') {
InsetUpdateList = 0;
}
+#ifdef WITH_WARNINGS
#warning UGLY!!
+#endif
// I know we shouldn't put anything in here but this seems the fastest
// way to do this (and the cleanest for now). This function just inserts
// a newline in the string and the inserts 'depth'-spaces so that the
bool PutEnv(string const & envstr)
{
+#ifdef WITH_WARNINGS
#warning Look at and fix this.
+#endif
// f.ex. what about error checking?
int retval = 0;
#if HAVE_PUTENV
bool PutEnvPath(string const & envstr)
{
string pathlist = envstr;
+#ifdef WITH_WARNINGS
#warning Verify that this is correct.
+#endif
#ifdef __EMX__
pathlist = subst(pathlist, ':', ';');
pathlist = subst(pathlist, '/', '\\');
// Here, we should add the PID to a list of
// waiting processes to kill if they are not
// dead without tolerance seconds
+#ifdef WITH_WARNINGS
#warning Implement this using the timer of the singleton systemcontroller (Asger)
+#endif
}
}