X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=idlcomp%2Ftypes.cc;h=c22d0bef92240b988a2b3cc6e5a4e1fae461bc8d;hb=bcba00f20216db4b6f42fdf2a06e0590df336023;hp=75597f2afa1b966e531019e883c9a016accd41ad;hpb=7da27a216a7f4bb3331fe315cdbec69bfcf2c762;p=polintos%2Fscott%2Fpriv.git diff --git a/idlcomp/types.cc b/idlcomp/types.cc index 75597f2..c22d0be 100644 --- a/idlcomp/types.cc +++ b/idlcomp/types.cc @@ -1,7 +1,16 @@ -/* types.cc -- Semantic actions for types and namespaces. - * - * Written by Scott Wood - */ +// Semantic actions for types and namespaces +// +// This software is copyright (c) 2006 Scott Wood . +// +// This software is provided 'as-is', without any express or implied warranty. +// In no event will the authors or contributors be held liable for any damages +// arising from the use of this software. +// +// Permission is hereby granted to everyone, free of charge, to use, copy, +// modify, prepare derivative works of, publish, distribute, perform, +// sublicense, and/or sell copies of the Software, provided that the above +// copyright notice and disclaimer of warranty be included in all copies or +// substantial portions of this software. #include #include @@ -311,7 +320,8 @@ void Datum::final_analysis() yyerrorfl(name->file, name->line, "Explicit size %llu on \"%s\" is too small for " "type \"%s\", which has a minimum size of %u", - def.ucon, get_fq_name()->flatten()->c_str(), + (unsigned long long)def.ucon, + get_fq_name()->flatten()->c_str(), type->get_fq_name()->flatten()->c_str(), defsize); } }