]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - idlcomp/types.cc
Add IFaceInfo.
[polintos/scott/priv.git] / idlcomp / types.cc
index 75597f2afa1b966e531019e883c9a016accd41ad..c22d0bef92240b988a2b3cc6e5a4e1fae461bc8d 100644 (file)
@@ -1,7 +1,16 @@
-/*  types.cc -- Semantic actions for types and namespaces.
- *
- * Written by Scott Wood <scott@buserror.net>
- */
+// Semantic actions for types and namespaces
+//
+// This software is copyright (c) 2006 Scott Wood <scott@buserror.net>.
+// 
+// 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 <cfloat>
 #include <sstream>
@@ -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);
                }
        }