Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- g++ -c -g -MMD -MP -MF build/Debug/GNU-Linux-x86/bmp.o.d -o build/Debug/GNU-Linux-x86/bmp.o bmp.cpp
- bmp.cpp:2:81: warning: windows.h: No such file or directory
- In file included from bmp.cpp:5:
- bmp.h:4: error: ISO C++ forbids declaration of ‘byte’ with no type
- bmp.h:4: error: expected ‘;’ before ‘*’ token
- bmp.h:5: error: ‘DWORD’ does not name a type
- bmp.h:6: error: ‘DWORD’ does not name a type
- bmp.h: In constructor ‘AUX_RGBImageRec::AUX_RGBImageRec()’:
- bmp.h:8: error: class ‘AUX_RGBImageRec’ does not have any field named ‘data’
- bmp.cpp: In member function ‘void AUX_RGBImageRec::convertBGRtoRGB()’:
- bmp.cpp:25: error: ‘DWORD’ does not name a type
- bmp.cpp:26: error: ‘byte’ was not declared in this scope
- bmp.cpp:26: error: expected ‘;’ before ‘Temp’
- bmp.cpp:27: error: ‘DWORD’ was not declared in this scope
- bmp.cpp:27: error: expected ‘;’ before ‘i’
- bmp.cpp:27: error: ‘i’ was not declared in this scope
- bmp.cpp:27: error: ‘BitmapLength’ was not declared in this scope
- bmp.cpp:29: error: ‘Temp’ was not declared in this scope
- bmp.cpp:29: error: ‘data’ was not declared in this scope
- bmp.cpp: In constructor ‘AUX_RGBImageRec::AUX_RGBImageRec(const char*)’:
- bmp.cpp:35: error: class ‘AUX_RGBImageRec’ does not have any field named ‘data’
- bmp.cpp: In destructor ‘AUX_RGBImageRec::~AUX_RGBImageRec()’:
- bmp.cpp:42: error: ‘data’ was not declared in this scope
- bmp.cpp:42: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
- bmp.cpp:43: error: ‘data’ was not declared in this scope
- bmp.cpp: In member function ‘bool AUX_RGBImageRec::loadFile(const char*)’:
- bmp.cpp:48: error: ‘BITMAPINFO’ was not declared in this scope
- bmp.cpp:48: error: expected ‘;’ before ‘BMInfo’
- bmp.cpp:49: error: ‘HDC’ does not name a type
- bmp.cpp:52: error: ‘data’ was not declared in this scope
- bmp.cpp:52: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
- bmp.cpp:53: error: ‘BMInfo’ was not declared in this scope
- bmp.cpp:53: error: ‘BITMAPINFOHEADER’ was not declared in this scope
- bmp.cpp:56: error: ‘HANDLE’ was not declared in this scope
- bmp.cpp:56: error: expected ‘;’ before ‘DIBHandle’
- bmp.cpp:58: error: ‘gldc’ was not declared in this scope
- bmp.cpp:58: error: ‘HBITMAP’ was not declared in this scope
- bmp.cpp:58: error: ‘DIB_RGB_COLORS’ was not declared in this scope
- bmp.cpp:58: error: ‘GetDIBits’ was not declared in this scope
- bmp.cpp:59: error: ‘sizeX’ was not declared in this scope
- bmp.cpp:60: error: ‘sizeY’ was not declared in this scope
- bmp.cpp:62: error: ‘BI_RGB’ was not declared in this scope
- bmp.cpp:63: error: ‘DWORD’ does not name a type
- bmp.cpp:65: error: ‘data’ was not declared in this scope
- bmp.cpp:65: error: expected type-specifier before ‘byte’
- bmp.cpp:65: error: expected ‘;’ before ‘byte’
- bmp.cpp:69: error: expected ‘)’ before ‘DIBHandle’
- bmp.cpp:75: error: ‘DIBHandle’ was not declared in this scope
- bmp.cpp:75: error: ‘DeleteObject’ was not declared in this scope
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement