From 295b3a1d3ff7f0e80b86c43dfc8cceca65e19dec Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 6 Aug 2005 18:12:35 +0000 Subject: [PATCH] compile fixes for Unix svn path=/trunk/boinc/; revision=7200 --- client/Makefile.am | 2 ++ client/acct_setup.h | 2 +- client/gui_http.h | 4 +++- client/gui_rpc_server_ops.C | 8 ++++---- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/client/Makefile.am b/client/Makefile.am index 8e8a8320c8..748aac8aea 100644 --- a/client/Makefile.am +++ b/client/Makefile.am @@ -17,6 +17,7 @@ EXTRA_PROGRAMS = cpu_benchmark boinc_client_SOURCES = \ acct_mgr.C \ + acct_setup.C \ app.C \ app_control.C \ app_graphics.C \ @@ -39,6 +40,7 @@ boinc_client_SOURCES = \ dhrystone2.C \ file_names.C \ file_xfer.C \ + gui_http.C \ gui_rpc_server.C \ gui_rpc_server_ops.C \ hostinfo_network.C \ diff --git a/client/acct_setup.h b/client/acct_setup.h index 0301135085..b890ee05af 100644 --- a/client/acct_setup.h +++ b/client/acct_setup.h @@ -61,4 +61,4 @@ struct CREATE_ACCOUNT_OP: public GUI_HTTP_OP { CREATE_ACCOUNT_OP(){in_progress = false;} }; -#endif \ No newline at end of file +#endif diff --git a/client/gui_http.h b/client/gui_http.h index 3945e597ef..fda74d9d2a 100644 --- a/client/gui_http.h +++ b/client/gui_http.h @@ -32,6 +32,8 @@ using std::string; // struct GUI_HTTP_OP { virtual void handle_reply(int http_op_retval) {} + GUI_HTTP_OP(){} + ~GUI_HTTP_OP(){} }; #define GUI_HTTP_STATE_IDLE 0 @@ -49,4 +51,4 @@ struct GUI_HTTP { bool poll(); }; -#endif \ No newline at end of file +#endif diff --git a/client/gui_rpc_server_ops.C b/client/gui_rpc_server_ops.C index 9e792ebda7..6f7782626e 100644 --- a/client/gui_rpc_server_ops.C +++ b/client/gui_rpc_server_ops.C @@ -521,7 +521,7 @@ static void handle_get_project_config_poll(char*, MIOFILE& fout) { if (gstate.get_project_config_op.in_progress) { fout.printf(""); } else { - fout.printf("%s", gstate.get_project_config_op.reply); + fout.printf("%s", gstate.get_project_config_op.reply.c_str()); } } @@ -535,7 +535,7 @@ static void handle_lookup_account_poll(char*, MIOFILE& fout) { if (gstate.lookup_account_op.in_progress) { fout.printf(""); } else { - fout.printf("%s", gstate.lookup_account_op.reply); + fout.printf("%s", gstate.lookup_account_op.reply.c_str()); } } @@ -549,7 +549,7 @@ static void handle_create_account_poll(char*, MIOFILE& fout) { if (gstate.create_account_op.in_progress) { fout.printf(""); } else { - fout.printf("%s", gstate.create_account_op.reply); + fout.printf("%s", gstate.create_account_op.reply.c_str()); } } @@ -701,4 +701,4 @@ int GUI_RPC_CONN::handle_rpc() { } return 0; -} \ No newline at end of file +}