here's the exact error:
tx_server.h:17: internal compiler error: in current_ir_type, at cfghooks.c:70
Code:
#ifndef _TX_SERVER_H
#define _TX_SERVER_H
#include "tx_types.h"
#include "tx_rpc_types.h"
#define NUMCLIENTS 1
void init_server();
void push_transaction(
const unsigned long request_id,
const nssi_remote_pid *caller,
const push_tx_data *tx,
const nssi_rma *data_addr,
const nssi_rma *res_addr
);
void process_transaction(tx_info * info, tx_status STATUS);
#endif
If I remove the header, and put it all in the .cpp for testing purposes, the error goes away..
The bolded line is line 17, where the error is occurring. I don't see what the error is.
tx_info and tx_status are defined in tx_types.h.
I'm using mpicc, but I had this problem before too with g++. Any thoughts on what's wrong with my header file?