gcc Fehlermeldung : internal error--insn does not satisfy its constraints

Andreas Koch A_Koch at moellinger.hx.uni-paderborn.de
Thu Aug 22 15:43:02 CEST 2002


Hi,

weiß jemand was mir gcc mit der Fehlermeldung :

ServerSocket.cpp: In method `ServerSocket::ServerSocket(int)':
ServerSocket.cpp:54: internal error--insn does not satisfy its constraints:
(insn 175 108 109 (set (reg:SI 0 %eax)(reg:SI 23)) 48 {movsi+2} (nil) (nil))

sagen will ?. Ich finde keinen Fehler und googlen hat bisher nichts 
hilfreiches zu Tage gefördert. Ich habe die oben bemägelte Funktion 
(Konstruktor) angehängt. Zeile 54 war im Orginal die letzte schließende 
Klammer.

Ich bin dankbar für jeden Tip.

Andreas


ServerSocket.h :

class ServerSocket {
   public:
      ServerSocket (int Port);
      ~ServerSocket ();
      int  start ();
      int  getClientSocket ();
      int  auth (char* AuthString, int Max_Attempts);
   private :
      char  Server_IP[strlen("255.255.255.255")+1];
      int   Server_Port;
      int   ServerSocketFileDescriptor;
      int   ClientSocketFileDescriptor;
   };

ServerSocket.cpp :
[...]

ServerSocket::ServerSocket(int p) {

      /*+-- This is for starting Winsockets when compiled with win32 flag 
--+*/

         #ifdef win32
            WSAData wsaData;
            int nCode;
            if (nCode = WSAStartup(MAKEWORD(1, 1), &wsaData) != 0) {
               cerr << "WSAStartup failed !" << endl;
               exit(1);
               }
            if(DEBUG) cout << "Winsocket started ..." << endl;
         #endif

      /*+------------------------------------------------------------------+*/

         /*:::: init Port and IP ::::*/ 
 
         Server_Port = p;
         strcpy(Server_IP,"127.0.0.1"); 

         /*:::: init FileDescriptors with -1 as 'not used' flag ::::*/ 

         ServerSocketFileDescriptor = -1;
         ClientSocketFileDescriptor = -1;
         }

[...]



More information about the Linux mailing list