Skip to content

Commit

Permalink
fixing compiler errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ernstae committed May 7, 2012
1 parent 78e3148 commit f66cbbf
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion r2/spk/aspk/spkcompiler/doc/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include ../../../../doc/webdir.mk
WEBDIR=.
T = spkcompiler
WEB = $(WEBDIR)/v0.1/specs/$T

Expand Down
2 changes: 2 additions & 0 deletions r2/spk/aspk/spkcompiler/spkcompiler/SpkCompilerException.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#include <sstream>
#include <cassert>
#include <stdio.h>
#include <stdlib.h>
#include <cstring>

#include "SpkCompilerException.h"

Expand Down
1 change: 1 addition & 0 deletions r2/spk/aspk/spkcompiler/spkcompiler/client.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define CLIENT_H

#include <string>
#include <cstring>
/**
* @file client.h
* Define "client" namespace.
Expand Down
2 changes: 2 additions & 0 deletions r2/spk/aspk/spkcompiler/tests/common/SpkCompilerErrorTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#include <fstream>
#include <sstream>
#include <new>
#include <stdio.h>
#include <cstring>

#include <cppunit/TestSuite.h>
#include <cppunit/TestCaller.h>
Expand Down
1 change: 1 addition & 0 deletions r2/spk/aspk/spkcompiler/tests/nonmem/lex_explangTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <valarray>
#include <fstream>
#include <string>
#include <cstring>

#include "lex_explangTest.h"

Expand Down
6 changes: 3 additions & 3 deletions r2/spk/aspk/spkcompiler/tests/nonmem/pop_subprobTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -691,9 +691,9 @@ void pop_subprobTest::testReportML()
in.close();
std::string allStr = all.str();
const char* str = allStr.c_str();
char* c1 = strstr( str, "<?xml" );
char* c2 = strstr( c1+5, "<?xml" );
char* c3 = strstr( c2+5, "<?xml" );
const char* c1 = strstr( str, "<?xml" );
const char* c2 = strstr( c1+5, "<?xml" );
const char* c3 = strstr( c2+5, "<?xml" );

FILE * xml1 = fopen( "xml1.xml", "w" );
fprintf( xml1, "%s\n", c1 );
Expand Down

0 comments on commit f66cbbf

Please sign in to comment.