summaryrefslogtreecommitdiff
path: root/lib/sbin/CreateFunctionBindings.pl
diff options
context:
space:
mode:
authorhawke <hawke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-05-15 13:42:25 +0000
committerhawke <hawke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-05-15 13:42:25 +0000
commit9e164338810aed06ad055aef2dd1af536a7112b6 (patch)
tree8cb7f7a4bac96f571c30fc7a991004ca621333cc /lib/sbin/CreateFunctionBindings.pl
parent5dc60f93498ee61f4a6517d67ef86b71c8ff7d2d (diff)
As a standard configuration now builds without warning about
inconsistent aliased functions, change this to be a level 0 error instead of just a warning. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3732 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/CreateFunctionBindings.pl')
-rw-r--r--lib/sbin/CreateFunctionBindings.pl7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/sbin/CreateFunctionBindings.pl b/lib/sbin/CreateFunctionBindings.pl
index ed924f55..fc2fcb66 100644
--- a/lib/sbin/CreateFunctionBindings.pl
+++ b/lib/sbin/CreateFunctionBindings.pl
@@ -431,16 +431,13 @@ sub FunctionDatabase
if (!($KnownFunction{"Return Type"} eq
$Function->{"Return Type"}))
{
-# FIXME: This is only a warning as there are so many
-# inconsistent prototypes that it will break any
-# current build.
- &CST_error(1,"The prototypes for the aliased function \'".$KnownFunction{"Name"}."\'\n given by thorns \' ".$thorn."\' and \'".$KnownThorn."\' are inconsistent.\n The return types disagree.");
+ &CST_error(0,"The prototypes for the aliased function \'".$KnownFunction{"Name"}."\'\n given by thorns \' ".$thorn."\' and \'".$KnownThorn."\' are inconsistent.\n The return types disagree.");
}
if (&CompareArguments($KnownFunction{"Arguments"},
$Function->{"Arguments"}))
{
&debug_print("The prototypes for the aliased function \'".$KnownFunction{"Name"}."\'\n given by thorns \'".$thorn."\' and \'".$KnownThorn."\' are inconsistent.\n The argument lists disagree.");
- &CST_error(1,"The prototypes for the aliased function \'".$KnownFunction{"Name"}."\'\n given by thorns \'".$thorn."\' and \'".$KnownThorn."\' are inconsistent.\n The argument lists disagree.");
+ &CST_error(0,"The prototypes for the aliased function \'".$KnownFunction{"Name"}."\'\n given by thorns \'".$thorn."\' and \'".$KnownThorn."\' are inconsistent.\n The argument lists disagree.");
}
}
}