Author Topic: Using VC8 compiler with Code::Blocks 8.02  (Read 6973 times)

Offline yaustar

  • Multiple posting newcomer
  • *
  • Posts: 20
Using VC8 compiler with Code::Blocks 8.02
« on: April 06, 2008, 12:21:16 am »
I am compiling a hello world program with VC8 and these warnings always comes up despite the compiler flags I set:
Code
#include <iostream>

using namespace std;

int main()
{
    cout << "Hello world!" << endl;
    return 0;
}
Code
C:\Program Files\Microsoft Visual Studio 8\VC\include\wchar.h|116|warning C4820: '_wfinddata64i32_t' : '4' bytes padding added after data member '_wfinddata64i32_t::attrib'|
C:\Program Files\Microsoft Visual Studio 8\VC\include\wchar.h|121|warning C4820: '_wfinddata64i32_t' : '4' bytes padding added after data member '_wfinddata64i32_t::name'|
C:\Program Files\Microsoft Visual Studio 8\VC\include\wchar.h|125|warning C4820: '_wfinddata64_t' : '4' bytes padding added after data member '_wfinddata64_t::attrib'|
C:\Program Files\Microsoft Visual Studio 8\VC\include\wchar.h|499|warning C4820: '_stat32' : '2' bytes padding added after data member '_stat32::st_gid'|
C:\Program Files\Microsoft Visual Studio 8\VC\include\wchar.h|515|warning C4820: 'stat' : '2' bytes padding added after data member 'stat::st_gid'|
C:\Program Files\Microsoft Visual Studio 8\VC\include\wchar.h|533|warning C4820: '_stat32i64' : '2' bytes padding added after data member '_stat32i64::st_gid'|
C:\Program Files\Microsoft Visual Studio 8\VC\include\wchar.h|534|warning C4820: '_stat32i64' : '4' bytes padding added after data member '_stat32i64::st_rdev'|
C:\Program Files\Microsoft Visual Studio 8\VC\include\wchar.h|538|warning C4820: '_stat32i64' : '4' bytes padding added after data member '_stat32i64::st_ctime'|
C:\Program Files\Microsoft Visual Studio 8\VC\include\wchar.h|547|warning C4820: '_stat64i32' : '2' bytes padding added after data member '_stat64i32::st_gid'|
C:\Program Files\Microsoft Visual Studio 8\VC\include\wchar.h|561|warning C4820: '_stat64' : '2' bytes padding added after data member '_stat64::st_gid'|
C:\Program Files\Microsoft Visual Studio 8\VC\include\wchar.h|562|warning C4820: '_stat64' : '4' bytes padding added after data member '_stat64::st_rdev'|
C:\Program Files\Microsoft Visual Studio 8\VC\include\typeinfo|58|warning C4820: 'type_info' : '3' bytes padding added after data member 'type_info::_m_d_name'|
C:\Program Files\Microsoft Visual Studio 8\VC\include\xlocale|326|warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc|
C:\Program Files\Microsoft Visual Studio 8\VC\include\xlocale|341|warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc|
C:\Program Files\Microsoft Visual Studio 8\VC\include\xlocale|358|warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc|
C:\Program Files\Microsoft Visual Studio 8\VC\include\istream|1075|warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc|
C:\Program Files\Microsoft Visual Studio 8\VC\include\ostream|520|warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc|
C:\Program Files\Microsoft Visual Studio 8\VC\include\ostream|520|warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc|
C:\Program Files\Microsoft Visual Studio 8\VC\include\istream|102|warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc|
C:\Program Files\Microsoft Visual Studio 8\VC\include\istream|102|warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc|
C:\Program Files\Microsoft Visual Studio 8\VC\include\ostream|144|warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc|
C:\Program Files\Microsoft Visual Studio 8\VC\include\ostream|144|warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc|
C:\Program Files\Microsoft Visual Studio 8\VC\include\xstring|2009|warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc|
C:\Program Files\Microsoft Visual Studio 8\VC\include\ostream|757|warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc|
||=== Build finished: 0 errors, 24 warnings ===||

Am I missing a setting or library?

Offline yaustar

  • Multiple posting newcomer
  • *
  • Posts: 20
Re: Using VC8 compiler with Code::Blocks 8.02
« Reply #1 on: April 06, 2008, 01:44:37 pm »
I have solved that problem, apparently there were a bunch of flags defined in "Other options" and I was only looking in the tick box list.