- Emit a warning when the return type is unknown (maybe I forgot some, so

please add).
This commit is contained in:
Sylvain Pion 1998-12-08 17:07:59 +00:00
parent 7a2a9ff531
commit 04f7fddf58
1 changed files with 7 additions and 0 deletions

View File

@ -35,6 +35,13 @@ while (<>)
$after_template=0;
$in_decl=0;
$in_def=1;
if (($result_type ne "CGAL_Sign") &&
($result_type ne "bool") &&
($result_type ne "CGAL_Comparison_result") &&
($result_type ne "CGAL_Orientation") &&
($result_type ne "CGAL_Oriented_side") &&
($result_type ne "CGAL_Bounded_side"))
{print STDERR "Warning: $result_type is unknown\n"; }
print
"{ // This is the default filter (specialization).\n
$result_type result;