summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure5
-rw-r--r--src/inspircd.cpp1
2 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 71f72d697..0739a3b77 100755
--- a/configure
+++ b/configure
@@ -189,6 +189,11 @@ Your operating system is: \033[1;32m$config{OSNAME}\033[0m ($wholeos), fdmax: $c
$config{CHANGE_COMPILER} = "n";
print "I have detected the following compiler: \033[1;32m$config{CC}\033[0m (version \033[1;32m$config{GCCVER}.$config{GCC34}\033[0m)\n";
+if ($config{GCCVER} < 3)
+{
+ print "\033[1;32mIMPORTANT!\033[0m A GCC 2.x compiler has been detected, and
+should NOT be used. You should probably specify a newer compiler.\n";
+}
yesno(CHANGE_COMPILER,"Do you want to change the compiler?");
if ($config{CHANGE_COMPILER} =~ /y/i)
{
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 70aa4326c..3ec24e38f 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -269,6 +269,7 @@ void ReadConfig(bool bail, userrec* user)
if (!LoadConf(CONFIG_FILE,&config_f,&errstr))
{
errstr.seekg(0);
+ log(DEFAULT,"There were errors in your configuration:\n%s",errstr.str().c_str());
if (bail)
{
printf("There were errors in your configuration:\n%s",errstr.str().c_str());