<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[missing type specifier]]></title><description><![CDATA[<p>Abend. Ich habe einen seltsamen Compilerfehler. Zunächst der &quot;fehlerhafte&quot; Code:</p>
<pre><code class="language-cpp">#ifndef ICAMERA_H
#define ICAMERA_H
#include &quot;math/AABBox.h&quot;
#include &lt;dxgi.h&gt;
#include &lt;d3d10.h&gt;
#include &lt;d3dx10.h&gt;
#include &quot;scene/HistoryBuffer.h&quot;
#include &quot;math/Plane.h&quot;

enum INTERSECT_RESULT { INTERSECT_RESULT_INTERSECT, INTERSECT_RESULT_INSIDE, INTERSECT_RESULT_OUTSIDE };

class ICamera {
private:
	D3DXMATRIX	viewMatrix;
	HistoryBuffer	mouseBufferY;

	Plane		frustumPlanes[6];

public:	
	ICamera();

	INTERSECT_RESULT frustumIntersectionAABB(const AABBox&amp; box) const; // hier knallts
</code></pre>
<p>wenn ich das versuche zu kompilieren, krieg ich diesen Fehler in der Zeile mit frustumIntersectionAABB:</p>
<blockquote>
<p>error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</p>
</blockquote>
<p>Den Fehler versteh ich nicht. In Der Zeile ist doch sowohl das enum als auch die AABBox definiert! Wieso meckert der Compiler? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/245190/missing-type-specifier</link><generator>RSS for Node</generator><lastBuildDate>Fri, 18 Sep 2026 21:52:46 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/245190.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 10 Jul 2009 18:04:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to missing type specifier on Fri, 10 Jul 2009 18:04:10 GMT]]></title><description><![CDATA[<p>Abend. Ich habe einen seltsamen Compilerfehler. Zunächst der &quot;fehlerhafte&quot; Code:</p>
<pre><code class="language-cpp">#ifndef ICAMERA_H
#define ICAMERA_H
#include &quot;math/AABBox.h&quot;
#include &lt;dxgi.h&gt;
#include &lt;d3d10.h&gt;
#include &lt;d3dx10.h&gt;
#include &quot;scene/HistoryBuffer.h&quot;
#include &quot;math/Plane.h&quot;

enum INTERSECT_RESULT { INTERSECT_RESULT_INTERSECT, INTERSECT_RESULT_INSIDE, INTERSECT_RESULT_OUTSIDE };

class ICamera {
private:
	D3DXMATRIX	viewMatrix;
	HistoryBuffer	mouseBufferY;

	Plane		frustumPlanes[6];

public:	
	ICamera();

	INTERSECT_RESULT frustumIntersectionAABB(const AABBox&amp; box) const; // hier knallts
</code></pre>
<p>wenn ich das versuche zu kompilieren, krieg ich diesen Fehler in der Zeile mit frustumIntersectionAABB:</p>
<blockquote>
<p>error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</p>
</blockquote>
<p>Den Fehler versteh ich nicht. In Der Zeile ist doch sowohl das enum als auch die AABBox definiert! Wieso meckert der Compiler? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1740594</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1740594</guid><dc:creator><![CDATA[mischel]]></dc:creator><pubDate>Fri, 10 Jul 2009 18:04:10 GMT</pubDate></item><item><title><![CDATA[Reply to missing type specifier on Fri, 10 Jul 2009 18:36:05 GMT]]></title><description><![CDATA[<p>Könntest du bitte noch die restlichen Fehler angeben? Zu einem C4430 gibt es meistens noch ein C2146 und ein C2061, welche noch ein wenig genauer Auskunft darüber geben, was der Kompiler nicht erkennt.</p>
<p>Gibt es sonst noch irgendwelche Fehler, welche womöglich <code>INTERSECT_RESULT</code> oder <code>AABBox</code> betreffen? Vielleicht irgendwelche Makros, welche reinfunken?</p>
<p>Grüssli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1740618</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1740618</guid><dc:creator><![CDATA[Dravere]]></dc:creator><pubDate>Fri, 10 Jul 2009 18:36:05 GMT</pubDate></item><item><title><![CDATA[Reply to missing type specifier on Fri, 10 Jul 2009 19:54:34 GMT]]></title><description><![CDATA[<p>check nochmal ob das ding wirklich AABBox heisst, oder nicht doch vielleicht AABBBox</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1740665</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1740665</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Fri, 10 Jul 2009 19:54:34 GMT</pubDate></item></channel></rss>