I put all the files into what I *think* are the correct folders. The source I downloaded came with 5 files:
resource.h
foo_uie_fileinfo.h
foo_uie_fileinfo.cpp
foo_uie_fileinfo.dsp
foo_uie_fileinfo.rc
I put all these files here:
C:\Documents and Settings\Owner\Desktop\Foobar\foobar2000\foo_uie_trackinfo\
(the foobar2000 folder was created when I unpacked the SDK)
Then I opened up Dev C++ and imported the foo_uie_fileinfo.dsp file. All went fine, no errors. I clicked compile and I got 79 errors:
CODE
Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Owner\Desktop\Foobar\foobar2000\foo_uie_trackinfo\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\Owner\Desktop\Foobar\foobar2000\foo_uie_trackinfo\Makefile.win" all
g++.exe -c foo_uie_fileinfo.cpp -o foo_uie_fileinfo.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS -D_USRDLL -DFOO_UIE_FILEINFO_EXPORTS
In file included from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/pfc.h:12: error: redeclaration of C++ built-in type `long'
In file included from ../SDK/../../pfc/pfc.h:66,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/bit_array.h:240:7: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:68,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/mem_block.h: In constructor `mem_block_fastalloc<T>::mem_block_fastalloc(unsigned int)':
../SDK/../../pfc/mem_block.h:205: error: there are no arguments to `set_mem_logic' that depend on a template parameter, so a declaration of `set_mem_logic' must be available
../SDK/../../pfc/mem_block.h:205: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../SDK/../../pfc/mem_block.h:205: error: there are no arguments to `prealloc' that depend on a template parameter, so a declaration of `prealloc' must be available
In file included from ../SDK/../../pfc/pfc.h:68,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/mem_block.h:265:7: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:69,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/list.h:306:22: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:70,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/ptr_list.h: In destructor `ptr_list_autodel_t<T>::~ptr_list_autodel_t()':
../SDK/../../pfc/ptr_list.h:190: error: there are no arguments to `delete_all' that depend on a template parameter, so a declaration of `delete_all' must be available
../SDK/../../pfc/ptr_list.h: In destructor `ptr_list_autofree_t<T>::~ptr_list_autofree_t()':
../SDK/../../pfc/ptr_list.h:198: error: there are no arguments to `free_all' that depend on a template parameter, so a declaration of `free_all' must be available
In file included from ../SDK/../../pfc/pfc.h:70,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/ptr_list.h:201:27: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:71,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/string.h: At global scope:
../SDK/../../pfc/string.h:5: error: conflicting declaration 'typedef short unsigned int WCHAR'
C:/Dev-Cpp/include/winnt.h:77: error: 'WCHAR' has a previous declaration as `typedef wchar_t WCHAR'
../SDK/../../pfc/string.h:5: error: declaration of `typedef short unsigned int WCHAR'
C:/Dev-Cpp/include/winnt.h:77: error: conflicts with previous declaration `typedef wchar_t WCHAR'
../SDK/../../pfc/string.h:5: error: declaration of `typedef short unsigned int WCHAR'
C:/Dev-Cpp/include/winnt.h:77: error: conflicts with previous declaration `typedef wchar_t WCHAR'
../SDK/../../pfc/string.h: In member function `const char* string_base::operator=(const char*)':
../SDK/../../pfc/string.h:69: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: In member function `const char* string_base::operator+=(const char*)':
../SDK/../../pfc/string.h:70: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: In member function `const char* string_base::operator=(const string_base&)':
../SDK/../../pfc/string.h:71: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: In member function `const char* string8::operator=(const char*)':
../SDK/../../pfc/string.h:90: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: In member function `const char* string8::operator+=(const char*)':
../SDK/../../pfc/string.h:91: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: In member function `const char* string8::operator=(const string8&)':
../SDK/../../pfc/string.h:93: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: In constructor `string8::string8(const char*)':
../SDK/../../pfc/string.h:96: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: In copy constructor `string8::string8(const string8&)':
../SDK/../../pfc/string.h:98: warning: base class `class string_base' should be explicitly initialized in the copy constructor
../SDK/../../pfc/string.h:98: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: In member function `const char* string8_fastalloc::operator=(const char*)':
../SDK/../../pfc/string.h:165: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: In member function `const char* string8_fastalloc::operator+=(const char*)':
../SDK/../../pfc/string.h:166: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: At global scope:
../SDK/../../pfc/string.h:476: error: ISO C++ forbids declaration of `string_simple' with no type
In file included from ../SDK/../../pfc/pfc.h:71,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/string.h:595:24: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:72,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/profiler.h:57:7: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:73,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/cfg_var.h:181: error: a class-key must be used when declaring a friend
In file included from ../SDK/../../pfc/pfc.h:74,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/cfg_memblock.h:59:7: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:75,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/guid.h:17:7: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:77,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/other.h: In constructor `fpu_control::fpu_control(unsigned int, unsigned int)':
../SDK/../../pfc/other.h:54: error: `_controlfp' undeclared (first use this function)
../SDK/../../pfc/other.h:54: error: (Each undeclared identifier is reported only once for each function it appears in.)
../SDK/../../pfc/other.h: In destructor `fpu_control::~fpu_control()':
../SDK/../../pfc/other.h:58: error: `_controlfp' undeclared (first use this function)
../SDK/../../pfc/other.h: In constructor `fpu_control_roundnearest::fpu_control_roundnearest()':
../SDK/../../pfc/other.h:65: error: `_MCW_RC' undeclared (first use this function)
../SDK/../../pfc/other.h:65: error: `_RC_NEAR' undeclared (first use this function)
../SDK/../../pfc/other.h: In constructor `fpu_control_flushdenormal::fpu_control_flushdenormal()':
../SDK/../../pfc/other.h:71: error: `_MCW_DN' undeclared (first use this function)
../SDK/../../pfc/other.h:71: error: `_DN_FLUSH' undeclared (first use this function)
../SDK/../../pfc/other.h: In constructor `fpu_control_default::fpu_control_default()':
../SDK/../../pfc/other.h:77: error: `_MCW_DN' undeclared (first use this function)
../SDK/../../pfc/other.h:77: error: `_MCW_RC' undeclared (first use this function)
../SDK/../../pfc/other.h:77: error: `_DN_FLUSH' undeclared (first use this function)
../SDK/../../pfc/other.h:77: error: `_RC_NEAR' undeclared (first use this function)
In file included from ../SDK/../../pfc/pfc.h:77,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/other.h:80:7: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:78,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/chainlist.h:160:8: warning: extra tokens at end of #endif directive
../SDK/../../pfc/chainlist.h:160:25: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:79,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/array.h:73:23: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/pfc.h:80:21: warning: no newline at end of file
In file included from ../SDK/../utf8api/utf8api.h:4,
from ../SDK/utf8api.h:4,
from ../SDK/foobar2000.h:6,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../utf8api/../../pfc/pfc.h:80:21: warning: no newline at end of file
In file included from ../SDK/utf8api.h:4,
from ../SDK/foobar2000.h:6,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../utf8api/utf8api.h:462:34: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:6,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/utf8api.h:9:7: warning: no newline at end of file
In file included from ../SDK/service.h:8,
from ../SDK/foobar2000.h:8,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/core_api.h:18:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:8,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/service.h: In member function `virtual service_base* service_factory_single_transparent_t<B, T>::instance_create()':
../SDK/service.h:175: error: there are no arguments to `service_add_ref' that depend on a template parameter, so a declaration of `service_add_ref' must be available
../SDK/service.h: In member function `virtual service_base* service_factory_single_transparent_p1_t<B, T, P1>::instance_create()':
../SDK/service.h:191: error: there are no arguments to `service_add_ref' that depend on a template parameter, so a declaration of `service_add_ref' must be available
../SDK/service.h: In member function `virtual service_base* service_factory_single_transparent_p2_t<B, T, P1, P2>::instance_create()':
../SDK/service.h:207: error: there are no arguments to `service_add_ref' that depend on a template parameter, so a declaration of `service_add_ref' must be available
../SDK/service.h: In member function `virtual service_base* service_factory_single_transparent_p3_t<B, T, P1, P2, P3>::instance_create()':
../SDK/service.h:223: error: there are no arguments to `service_add_ref' that depend on a template parameter, so a declaration of `service_add_ref' must be available
../SDK/service.h: In member function `virtual service_base* service_factory_single_transparent_p4_t<B, T, P1, P2, P3, P4>::instance_create()':
../SDK/service.h:239: error: there are no arguments to `service_add_ref' that depend on a template parameter, so a declaration of `service_add_ref' must be available
In file included from ../SDK/foobar2000.h:8,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/service.h:246:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:10,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/audio_chunk.h:158:25: warning: no newline at end of file
In file included from ../SDK/componentversion.h:5,
from ../SDK/foobar2000.h:11,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/interface_helper.h:12:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:11,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/componentversion.h: In member function `virtual void componentversion_i_simple::get_file_name(string_base&)':
../SDK/componentversion.h:26: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/componentversion.h: In member function `virtual void componentversion_i_simple::get_component_name(string_base&)':
../SDK/componentversion.h:27: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/componentversion.h: In member function `virtual void componentversion_i_simple::get_component_version(string_base&)':
../SDK/componentversion.h:28: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/componentversion.h: In member function `virtual void componentversion_i_simple::get_about_message(string_base&)':
../SDK/componentversion.h:29: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/componentversion.h: In member function `virtual void componentversion_i_copy::get_file_name(string_base&)':
../SDK/componentversion.h:38: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/componentversion.h: In member function `virtual void componentversion_i_copy::get_component_name(string_base&)':
../SDK/componentversion.h:39: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/componentversion.h: In member function `virtual void componentversion_i_copy::get_component_version(string_base&)':
../SDK/componentversion.h:40: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/componentversion.h: In member function `virtual void componentversion_i_copy::get_about_message(string_base&)':
../SDK/componentversion.h:41: warning: converting of negative value `-0x000000001' to `unsigned int'
In file included from ../SDK/foobar2000.h:11,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/componentversion.h:56:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:12,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/config.h:20:7: warning: no newline at end of file
In file included from ../SDK/config_var.h:8,
from ../SDK/foobar2000.h:13,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/initquit.h:39:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:13,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/config_var.h: In member function `virtual void config_var_string_i::get_value(string_base&) const':
../SDK/config_var.h:374: warning: converting of negative value `-0x000000001' to `unsigned int'
In file included from ../SDK/foobar2000.h:13,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/config_var.h:475:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:14,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/console.h:59:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:16,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/cvt_float_to_linear.h:37:7: warning: no newline at end of file
In file included from ../SDK/file_info.h:4,
from ../SDK/diskwriter.h:7,
from ../SDK/foobar2000.h:17,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/playable_location.h:93:42: warning: no newline at end of file
In file included from ../SDK/file_info.h:5,
from ../SDK/diskwriter.h:7,
from ../SDK/foobar2000.h:17,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/playlist_entry.h:15:7: warning: no newline at end of file
In file included from ../SDK/diskwriter.h:7,
from ../SDK/foobar2000.h:17,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/file_info.h:96:23: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:17,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/diskwriter.h:74:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:18,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/dsp.h: In member function `virtual void dsp_i_base_t<T>::run(dsp_chunk_list*, metadb_handle*, int)':
../SDK/dsp.h:178: error: `FLUSH' undeclared (first use this function)
../SDK/dsp.h:180: error: `END_OF_TRACK' undeclared (first use this function)
In file included from ../SDK/dsp_manager.h:4,
from ../SDK/dsp.h:194,
from ../SDK/foobar2000.h:18,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/dsp.h:196:7: warning: no newline at end of file
In file included from ../SDK/dsp.h:194,
from ../SDK/foobar2000.h:18,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/dsp_manager.h: In member function `void dsp_manager::get_default_chain(mem_block_t<GUID>&)':
../SDK/dsp_manager.h:41: warning: taking address of temporary
In file included from ../SDK/dsp.h:194,
from ../SDK/foobar2000.h:18,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/dsp_manager.h:52:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:18,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/dsp.h:196:7: warning: no newline at end of file
In file included from ../SDK/file_info_helper.h:5,
from ../SDK/foobar2000.h:21,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/metadb_handle.h:121:38: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:21,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/file_info_helper.h:93:30: warning: no newline at end of file
In file included from ../SDK/reader.h:317,
from ../SDK/input.h:6,
from ../SDK/foobar2000.h:23,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/reader_helper.h:263:26: warning: no newline at end of file
In file included from ../SDK/input.h:6,
from ../SDK/foobar2000.h:23,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/reader.h:319:7: warning: no newline at end of file
In file included from ../SDK/input_helpers.h:4,
from ../SDK/input.h:184,
from ../SDK/foobar2000.h:23,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/input.h:186:7: warning: no newline at end of file
In file included from ../SDK/input.h:184,
from ../SDK/foobar2000.h:23,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/input_helpers.h:82:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:23,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/input.h:186:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:25,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/menu_item.h: In member function `virtual bool menu_item_main::get_display_data(unsigned int, const ptr_list_interface<metadb_handle>&, string_base&, unsigned int&, const GUID&)':
../SDK/menu_item.h:98: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/menu_item.h: In member function `virtual bool menu_item_context::context_get_display(unsigned int, const ptr_list_interface<metadb_handle>&, string_base&, unsigned int&, const GUID&)':
../SDK/menu_item.h:168: warning: converting of negative value `-0x000000001' to `unsigned int'
In file included from ../SDK/foobar2000.h:25,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/menu_item.h:178:34: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:26,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/menu_manager.h:286:37: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:27,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/modeless_dialog.h:22:29: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:28,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/output.h:166:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:29,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/output_manager.h:54:28: warning: no newline at end of file
In file included from ../SDK/play_callback.h:10,
from ../SDK/foobar2000.h:30,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/play_control.h:94:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:30,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/play_callback.h:44:7: warning: no newline at end of file
In file included from ../SDK/replaygain.h:8,
from ../SDK/playback_core.h:6,
from ../SDK/foobar2000.h:33,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/metadb.h:122:7: warning: no newline at end of file
In file included from ../SDK/playback_core.h:6,
from ../SDK/foobar2000.h:33,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/replaygain.h:85:39: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:33,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/playback_core.h:177:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:34,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/playlist.h:173:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:35,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/playlist_loader.h: In static member function `static int track_indexer::g_get_tracks(const char*, ptr_list_t<playable_location_i>&, reader*)':
../SDK/playlist_loader.h:153: warning: taking address of temporary
In file included from ../SDK/foobar2000.h:35,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/playlist_loader.h:188:29: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:38,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/resampler.h:164:22: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:39,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/service_helper.h: In member function `void service_list_t<T>::delete_by_idx(int)':
../SDK/service_helper.h:18: error: there are no arguments to `remove_by_idx' that depend on a template parameter, so a declaration of `remove_by_idx' must be available
../SDK/service_helper.h: In member function `void service_list_t<T>::delete_all()':
../SDK/service_helper.h:24: error: there are no arguments to `get_count' that depend on a template parameter, so a declaration of `get_count' must be available
../SDK/service_helper.h:27: error: there are no arguments to `get_item' that depend on a template parameter, so a declaration of `get_item' must be available
../SDK/service_helper.h:30: error: there are no arguments to `remove_all' that depend on a template parameter, so a declaration of `remove_all' must be available
../SDK/service_helper.h: In member function `void service_list_t<T>::delete_mask(const bit_array&)':
../SDK/service_helper.h:35: error: there are no arguments to `get_count' that depend on a template parameter, so a declaration of `get_count' must be available
../SDK/service_helper.h:37: error: there are no arguments to `get_item' that depend on a template parameter, so a declaration of `get_item' must be available
../SDK/service_helper.h:38: error: there are no arguments to `remove_mask' that depend on a template parameter, so a declaration of `remove_mask' must be available
../SDK/service_helper.h: In destructor `service_list_autodel_t<T>::~service_list_autodel_t()':
../SDK/service_helper.h:46: error: there are no arguments to `delete_all' that depend on a template parameter, so a declaration of `delete_all' must be available
In file included from ../SDK/foobar2000.h:39,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/service_helper.h:68:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:40,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/tagread.h:48:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:41,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/titleformat.h:32:36: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:42,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/ui.h:75:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:43,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/unpack.h:25:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:44,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/vis.h:57:28: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:46,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/packet_decoder.h:54:39: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:47,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/commandline.h:51:40: warning: no newline at end of file
In file included from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/foobar2000.h:49:24: warning: no newline at end of file
In file included from foo_uie_fileinfo.cpp:1:
foo_uie_fileinfo.h:2:40: ../foosion_helpers/helpers.h: No such file or directory
foo_uie_fileinfo.h:3:49: ../shared/ui_extension/ui_extension.h: No such file or directory
In file included from foo_uie_fileinfo.cpp:1:
foo_uie_fileinfo.h: At global scope:
foo_uie_fileinfo.h:159: error: expected class-name before '{' token
foo_uie_fileinfo.h: In member function `void trackinfo_dialog::redraw()':
foo_uie_fileinfo.h:181: error: `wnd' undeclared (first use this function)
foo_uie_fileinfo.h: At global scope:
foo_uie_fileinfo.h:186: error: expected class-name before '{' token
foo_uie_fileinfo.h:191: error: ISO C++ forbids declaration of `ui_extension_host' with no type
foo_uie_fileinfo.h:191: error: expected `;' before '*' token
foo_uie_fileinfo.h:209: error: `is_available' declared as a `virtual' field
foo_uie_fileinfo.h:209: error: expected `;' before '(' token
foo_uie_fileinfo.h:216: error: expected `;' before "virtual"
foo_uie_fileinfo.h:216: error: `ui_extension_host' has not been declared
foo_uie_fileinfo.h:217: error: ISO C++ forbids declaration of `p_host' with no type
foo_uie_fileinfo.h: In constructor `uie_trackinfo::uie_trackinfo()':
foo_uie_fileinfo.h:197: error: class `uie_trackinfo' does not have any field named `host'
foo_uie_fileinfo.h: In member function `virtual unsigned int uie_trackinfo::get_type() const':
foo_uie_fileinfo.h:205: error: `ui_extension_flag' has not been declared
foo_uie_fileinfo.h:205: error: `TYPE_PANEL' undeclared (first use this function)
foo_uie_fileinfo.h: In member function `virtual HWND__* uie_trackinfo::init_or_take_ownership(HWND__*, int*, cfg_var::read_config_helper*)':
foo_uie_fileinfo.h:221: error: `host' undeclared (first use this function)
foo_uie_fileinfo.h:230: error: 'class trackinfo_dialog' has no member named 'run_modeless'
foo_uie_fileinfo.h: In member function `virtual void uie_trackinfo::destroy_window()':
foo_uie_fileinfo.h:245: error: `host' undeclared (first use this function)
foo_uie_fileinfo.h: In member function `void uie_trackinfo::on_min_height_change()':
foo_uie_fileinfo.h:254: error: `host' undeclared (first use this function)
foo_uie_fileinfo.h:254: error: `ui_extension_flag' has not been declared
foo_uie_fileinfo.h:254: error: `SLC_MIN_HEIGHT' undeclared (first use this function)
foo_uie_fileinfo.h: At global scope:
foo_uie_fileinfo.h:256: error: expected init-declarator before '<' token
foo_uie_fileinfo.h:256: error: expected `,' or `;' before '<' token
foo_uie_fileinfo.h: In function `BOOL config_proc(HWND__*, UINT, WPARAM, LPARAM)':
foo_uie_fileinfo.h:335: error: `g_trackinfo' undeclared (first use this function)
foo_uie_fileinfo.h: In member function `virtual HRESULT IDropTarget_trackinfo::DragEnter(IDataObject*, DWORD, POINTL, DWORD*)':
foo_uie_fileinfo.h:468: error: `g_trackinfo' undeclared (first use this function)
foo_uie_fileinfo.h: In member function `virtual HRESULT IDropTarget_trackinfo::DragLeave()':
foo_uie_fileinfo.h:481: error: `g_trackinfo' undeclared (first use this function)
foo_uie_fileinfo.h: In member function `virtual HRESULT IDropTarget_trackinfo::Drop(IDataObject*, DWORD, POINTL, DWORD*)':
foo_uie_fileinfo.h:501: error: `g_trackinfo' undeclared (first use this function)
foo_uie_fileinfo.h:581:3: warning: no newline at end of file
foo_uie_fileinfo.cpp: In member function `virtual BOOL trackinfo_dialog::on_message(UINT, WPARAM, LPARAM)':
foo_uie_fileinfo.cpp:187: warning: converting of negative value `-0x000000001' to `DWORD'
foo_uie_fileinfo.cpp:196: error: `wnd' undeclared (first use this function)
foo_uie_fileinfo.cpp:285: warning: taking address of temporary
foo_uie_fileinfo.cpp:333: warning: taking address of temporary
foo_uie_fileinfo.cpp: In member function `void trackinfo_dialog::get_displayed_text(string_base&)':
foo_uie_fileinfo.cpp:443: error: `extra_items_helper' undeclared (first use this function)
foo_uie_fileinfo.cpp:443: error: expected `;' before "items"
foo_uie_fileinfo.cpp:446: error: `items' undeclared (first use this function)
foo_uie_fileinfo.cpp: In member function `void trackinfo_dialog::do_contextmenu(POINT)':
foo_uie_fileinfo.cpp:543: error: `wnd' undeclared (first use this function)
make.exe: *** [foo_uie_fileinfo.o] Error 1
Execution terminated
Building Makefile: "C:\Documents and Settings\Owner\Desktop\Foobar\foobar2000\foo_uie_trackinfo\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\Owner\Desktop\Foobar\foobar2000\foo_uie_trackinfo\Makefile.win" all
g++.exe -c foo_uie_fileinfo.cpp -o foo_uie_fileinfo.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include" -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS -D_USRDLL -DFOO_UIE_FILEINFO_EXPORTS
In file included from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/pfc.h:12: error: redeclaration of C++ built-in type `long'
In file included from ../SDK/../../pfc/pfc.h:66,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/bit_array.h:240:7: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:68,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/mem_block.h: In constructor `mem_block_fastalloc<T>::mem_block_fastalloc(unsigned int)':
../SDK/../../pfc/mem_block.h:205: error: there are no arguments to `set_mem_logic' that depend on a template parameter, so a declaration of `set_mem_logic' must be available
../SDK/../../pfc/mem_block.h:205: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../SDK/../../pfc/mem_block.h:205: error: there are no arguments to `prealloc' that depend on a template parameter, so a declaration of `prealloc' must be available
In file included from ../SDK/../../pfc/pfc.h:68,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/mem_block.h:265:7: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:69,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/list.h:306:22: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:70,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/ptr_list.h: In destructor `ptr_list_autodel_t<T>::~ptr_list_autodel_t()':
../SDK/../../pfc/ptr_list.h:190: error: there are no arguments to `delete_all' that depend on a template parameter, so a declaration of `delete_all' must be available
../SDK/../../pfc/ptr_list.h: In destructor `ptr_list_autofree_t<T>::~ptr_list_autofree_t()':
../SDK/../../pfc/ptr_list.h:198: error: there are no arguments to `free_all' that depend on a template parameter, so a declaration of `free_all' must be available
In file included from ../SDK/../../pfc/pfc.h:70,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/ptr_list.h:201:27: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:71,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/string.h: At global scope:
../SDK/../../pfc/string.h:5: error: conflicting declaration 'typedef short unsigned int WCHAR'
C:/Dev-Cpp/include/winnt.h:77: error: 'WCHAR' has a previous declaration as `typedef wchar_t WCHAR'
../SDK/../../pfc/string.h:5: error: declaration of `typedef short unsigned int WCHAR'
C:/Dev-Cpp/include/winnt.h:77: error: conflicts with previous declaration `typedef wchar_t WCHAR'
../SDK/../../pfc/string.h:5: error: declaration of `typedef short unsigned int WCHAR'
C:/Dev-Cpp/include/winnt.h:77: error: conflicts with previous declaration `typedef wchar_t WCHAR'
../SDK/../../pfc/string.h: In member function `const char* string_base::operator=(const char*)':
../SDK/../../pfc/string.h:69: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: In member function `const char* string_base::operator+=(const char*)':
../SDK/../../pfc/string.h:70: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: In member function `const char* string_base::operator=(const string_base&)':
../SDK/../../pfc/string.h:71: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: In member function `const char* string8::operator=(const char*)':
../SDK/../../pfc/string.h:90: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: In member function `const char* string8::operator+=(const char*)':
../SDK/../../pfc/string.h:91: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: In member function `const char* string8::operator=(const string8&)':
../SDK/../../pfc/string.h:93: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: In constructor `string8::string8(const char*)':
../SDK/../../pfc/string.h:96: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: In copy constructor `string8::string8(const string8&)':
../SDK/../../pfc/string.h:98: warning: base class `class string_base' should be explicitly initialized in the copy constructor
../SDK/../../pfc/string.h:98: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: In member function `const char* string8_fastalloc::operator=(const char*)':
../SDK/../../pfc/string.h:165: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: In member function `const char* string8_fastalloc::operator+=(const char*)':
../SDK/../../pfc/string.h:166: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/../../pfc/string.h: At global scope:
../SDK/../../pfc/string.h:476: error: ISO C++ forbids declaration of `string_simple' with no type
In file included from ../SDK/../../pfc/pfc.h:71,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/string.h:595:24: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:72,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/profiler.h:57:7: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:73,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/cfg_var.h:181: error: a class-key must be used when declaring a friend
In file included from ../SDK/../../pfc/pfc.h:74,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/cfg_memblock.h:59:7: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:75,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/guid.h:17:7: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:77,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/other.h: In constructor `fpu_control::fpu_control(unsigned int, unsigned int)':
../SDK/../../pfc/other.h:54: error: `_controlfp' undeclared (first use this function)
../SDK/../../pfc/other.h:54: error: (Each undeclared identifier is reported only once for each function it appears in.)
../SDK/../../pfc/other.h: In destructor `fpu_control::~fpu_control()':
../SDK/../../pfc/other.h:58: error: `_controlfp' undeclared (first use this function)
../SDK/../../pfc/other.h: In constructor `fpu_control_roundnearest::fpu_control_roundnearest()':
../SDK/../../pfc/other.h:65: error: `_MCW_RC' undeclared (first use this function)
../SDK/../../pfc/other.h:65: error: `_RC_NEAR' undeclared (first use this function)
../SDK/../../pfc/other.h: In constructor `fpu_control_flushdenormal::fpu_control_flushdenormal()':
../SDK/../../pfc/other.h:71: error: `_MCW_DN' undeclared (first use this function)
../SDK/../../pfc/other.h:71: error: `_DN_FLUSH' undeclared (first use this function)
../SDK/../../pfc/other.h: In constructor `fpu_control_default::fpu_control_default()':
../SDK/../../pfc/other.h:77: error: `_MCW_DN' undeclared (first use this function)
../SDK/../../pfc/other.h:77: error: `_MCW_RC' undeclared (first use this function)
../SDK/../../pfc/other.h:77: error: `_DN_FLUSH' undeclared (first use this function)
../SDK/../../pfc/other.h:77: error: `_RC_NEAR' undeclared (first use this function)
In file included from ../SDK/../../pfc/pfc.h:77,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/other.h:80:7: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:78,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/chainlist.h:160:8: warning: extra tokens at end of #endif directive
../SDK/../../pfc/chainlist.h:160:25: warning: no newline at end of file
In file included from ../SDK/../../pfc/pfc.h:79,
from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/array.h:73:23: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:4,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../../pfc/pfc.h:80:21: warning: no newline at end of file
In file included from ../SDK/../utf8api/utf8api.h:4,
from ../SDK/utf8api.h:4,
from ../SDK/foobar2000.h:6,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../utf8api/../../pfc/pfc.h:80:21: warning: no newline at end of file
In file included from ../SDK/utf8api.h:4,
from ../SDK/foobar2000.h:6,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/../utf8api/utf8api.h:462:34: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:6,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/utf8api.h:9:7: warning: no newline at end of file
In file included from ../SDK/service.h:8,
from ../SDK/foobar2000.h:8,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/core_api.h:18:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:8,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/service.h: In member function `virtual service_base* service_factory_single_transparent_t<B, T>::instance_create()':
../SDK/service.h:175: error: there are no arguments to `service_add_ref' that depend on a template parameter, so a declaration of `service_add_ref' must be available
../SDK/service.h: In member function `virtual service_base* service_factory_single_transparent_p1_t<B, T, P1>::instance_create()':
../SDK/service.h:191: error: there are no arguments to `service_add_ref' that depend on a template parameter, so a declaration of `service_add_ref' must be available
../SDK/service.h: In member function `virtual service_base* service_factory_single_transparent_p2_t<B, T, P1, P2>::instance_create()':
../SDK/service.h:207: error: there are no arguments to `service_add_ref' that depend on a template parameter, so a declaration of `service_add_ref' must be available
../SDK/service.h: In member function `virtual service_base* service_factory_single_transparent_p3_t<B, T, P1, P2, P3>::instance_create()':
../SDK/service.h:223: error: there are no arguments to `service_add_ref' that depend on a template parameter, so a declaration of `service_add_ref' must be available
../SDK/service.h: In member function `virtual service_base* service_factory_single_transparent_p4_t<B, T, P1, P2, P3, P4>::instance_create()':
../SDK/service.h:239: error: there are no arguments to `service_add_ref' that depend on a template parameter, so a declaration of `service_add_ref' must be available
In file included from ../SDK/foobar2000.h:8,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/service.h:246:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:10,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/audio_chunk.h:158:25: warning: no newline at end of file
In file included from ../SDK/componentversion.h:5,
from ../SDK/foobar2000.h:11,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/interface_helper.h:12:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:11,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/componentversion.h: In member function `virtual void componentversion_i_simple::get_file_name(string_base&)':
../SDK/componentversion.h:26: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/componentversion.h: In member function `virtual void componentversion_i_simple::get_component_name(string_base&)':
../SDK/componentversion.h:27: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/componentversion.h: In member function `virtual void componentversion_i_simple::get_component_version(string_base&)':
../SDK/componentversion.h:28: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/componentversion.h: In member function `virtual void componentversion_i_simple::get_about_message(string_base&)':
../SDK/componentversion.h:29: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/componentversion.h: In member function `virtual void componentversion_i_copy::get_file_name(string_base&)':
../SDK/componentversion.h:38: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/componentversion.h: In member function `virtual void componentversion_i_copy::get_component_name(string_base&)':
../SDK/componentversion.h:39: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/componentversion.h: In member function `virtual void componentversion_i_copy::get_component_version(string_base&)':
../SDK/componentversion.h:40: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/componentversion.h: In member function `virtual void componentversion_i_copy::get_about_message(string_base&)':
../SDK/componentversion.h:41: warning: converting of negative value `-0x000000001' to `unsigned int'
In file included from ../SDK/foobar2000.h:11,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/componentversion.h:56:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:12,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/config.h:20:7: warning: no newline at end of file
In file included from ../SDK/config_var.h:8,
from ../SDK/foobar2000.h:13,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/initquit.h:39:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:13,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/config_var.h: In member function `virtual void config_var_string_i::get_value(string_base&) const':
../SDK/config_var.h:374: warning: converting of negative value `-0x000000001' to `unsigned int'
In file included from ../SDK/foobar2000.h:13,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/config_var.h:475:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:14,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/console.h:59:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:16,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/cvt_float_to_linear.h:37:7: warning: no newline at end of file
In file included from ../SDK/file_info.h:4,
from ../SDK/diskwriter.h:7,
from ../SDK/foobar2000.h:17,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/playable_location.h:93:42: warning: no newline at end of file
In file included from ../SDK/file_info.h:5,
from ../SDK/diskwriter.h:7,
from ../SDK/foobar2000.h:17,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/playlist_entry.h:15:7: warning: no newline at end of file
In file included from ../SDK/diskwriter.h:7,
from ../SDK/foobar2000.h:17,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/file_info.h:96:23: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:17,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/diskwriter.h:74:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:18,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/dsp.h: In member function `virtual void dsp_i_base_t<T>::run(dsp_chunk_list*, metadb_handle*, int)':
../SDK/dsp.h:178: error: `FLUSH' undeclared (first use this function)
../SDK/dsp.h:180: error: `END_OF_TRACK' undeclared (first use this function)
In file included from ../SDK/dsp_manager.h:4,
from ../SDK/dsp.h:194,
from ../SDK/foobar2000.h:18,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/dsp.h:196:7: warning: no newline at end of file
In file included from ../SDK/dsp.h:194,
from ../SDK/foobar2000.h:18,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/dsp_manager.h: In member function `void dsp_manager::get_default_chain(mem_block_t<GUID>&)':
../SDK/dsp_manager.h:41: warning: taking address of temporary
In file included from ../SDK/dsp.h:194,
from ../SDK/foobar2000.h:18,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/dsp_manager.h:52:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:18,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/dsp.h:196:7: warning: no newline at end of file
In file included from ../SDK/file_info_helper.h:5,
from ../SDK/foobar2000.h:21,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/metadb_handle.h:121:38: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:21,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/file_info_helper.h:93:30: warning: no newline at end of file
In file included from ../SDK/reader.h:317,
from ../SDK/input.h:6,
from ../SDK/foobar2000.h:23,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/reader_helper.h:263:26: warning: no newline at end of file
In file included from ../SDK/input.h:6,
from ../SDK/foobar2000.h:23,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/reader.h:319:7: warning: no newline at end of file
In file included from ../SDK/input_helpers.h:4,
from ../SDK/input.h:184,
from ../SDK/foobar2000.h:23,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/input.h:186:7: warning: no newline at end of file
In file included from ../SDK/input.h:184,
from ../SDK/foobar2000.h:23,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/input_helpers.h:82:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:23,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/input.h:186:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:25,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/menu_item.h: In member function `virtual bool menu_item_main::get_display_data(unsigned int, const ptr_list_interface<metadb_handle>&, string_base&, unsigned int&, const GUID&)':
../SDK/menu_item.h:98: warning: converting of negative value `-0x000000001' to `unsigned int'
../SDK/menu_item.h: In member function `virtual bool menu_item_context::context_get_display(unsigned int, const ptr_list_interface<metadb_handle>&, string_base&, unsigned int&, const GUID&)':
../SDK/menu_item.h:168: warning: converting of negative value `-0x000000001' to `unsigned int'
In file included from ../SDK/foobar2000.h:25,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/menu_item.h:178:34: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:26,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/menu_manager.h:286:37: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:27,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/modeless_dialog.h:22:29: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:28,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/output.h:166:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:29,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/output_manager.h:54:28: warning: no newline at end of file
In file included from ../SDK/play_callback.h:10,
from ../SDK/foobar2000.h:30,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/play_control.h:94:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:30,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/play_callback.h:44:7: warning: no newline at end of file
In file included from ../SDK/replaygain.h:8,
from ../SDK/playback_core.h:6,
from ../SDK/foobar2000.h:33,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/metadb.h:122:7: warning: no newline at end of file
In file included from ../SDK/playback_core.h:6,
from ../SDK/foobar2000.h:33,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/replaygain.h:85:39: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:33,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/playback_core.h:177:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:34,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/playlist.h:173:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:35,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/playlist_loader.h: In static member function `static int track_indexer::g_get_tracks(const char*, ptr_list_t<playable_location_i>&, reader*)':
../SDK/playlist_loader.h:153: warning: taking address of temporary
In file included from ../SDK/foobar2000.h:35,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/playlist_loader.h:188:29: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:38,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/resampler.h:164:22: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:39,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/service_helper.h: In member function `void service_list_t<T>::delete_by_idx(int)':
../SDK/service_helper.h:18: error: there are no arguments to `remove_by_idx' that depend on a template parameter, so a declaration of `remove_by_idx' must be available
../SDK/service_helper.h: In member function `void service_list_t<T>::delete_all()':
../SDK/service_helper.h:24: error: there are no arguments to `get_count' that depend on a template parameter, so a declaration of `get_count' must be available
../SDK/service_helper.h:27: error: there are no arguments to `get_item' that depend on a template parameter, so a declaration of `get_item' must be available
../SDK/service_helper.h:30: error: there are no arguments to `remove_all' that depend on a template parameter, so a declaration of `remove_all' must be available
../SDK/service_helper.h: In member function `void service_list_t<T>::delete_mask(const bit_array&)':
../SDK/service_helper.h:35: error: there are no arguments to `get_count' that depend on a template parameter, so a declaration of `get_count' must be available
../SDK/service_helper.h:37: error: there are no arguments to `get_item' that depend on a template parameter, so a declaration of `get_item' must be available
../SDK/service_helper.h:38: error: there are no arguments to `remove_mask' that depend on a template parameter, so a declaration of `remove_mask' must be available
../SDK/service_helper.h: In destructor `service_list_autodel_t<T>::~service_list_autodel_t()':
../SDK/service_helper.h:46: error: there are no arguments to `delete_all' that depend on a template parameter, so a declaration of `delete_all' must be available
In file included from ../SDK/foobar2000.h:39,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/service_helper.h:68:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:40,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/tagread.h:48:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:41,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/titleformat.h:32:36: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:42,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/ui.h:75:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:43,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/unpack.h:25:7: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:44,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/vis.h:57:28: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:46,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/packet_decoder.h:54:39: warning: no newline at end of file
In file included from ../SDK/foobar2000.h:47,
from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/commandline.h:51:40: warning: no newline at end of file
In file included from foo_uie_fileinfo.h:1,
from foo_uie_fileinfo.cpp:1:
../SDK/foobar2000.h:49:24: warning: no newline at end of file
In file included from foo_uie_fileinfo.cpp:1:
foo_uie_fileinfo.h:2:40: ../foosion_helpers/helpers.h: No such file or directory
foo_uie_fileinfo.h:3:49: ../shared/ui_extension/ui_extension.h: No such file or directory
In file included from foo_uie_fileinfo.cpp:1:
foo_uie_fileinfo.h: At global scope:
foo_uie_fileinfo.h:159: error: expected class-name before '{' token
foo_uie_fileinfo.h: In member function `void trackinfo_dialog::redraw()':
foo_uie_fileinfo.h:181: error: `wnd' undeclared (first use this function)
foo_uie_fileinfo.h: At global scope:
foo_uie_fileinfo.h:186: error: expected class-name before '{' token
foo_uie_fileinfo.h:191: error: ISO C++ forbids declaration of `ui_extension_host' with no type
foo_uie_fileinfo.h:191: error: expected `;' before '*' token
foo_uie_fileinfo.h:209: error: `is_available' declared as a `virtual' field
foo_uie_fileinfo.h:209: error: expected `;' before '(' token
foo_uie_fileinfo.h:216: error: expected `;' before "virtual"
foo_uie_fileinfo.h:216: error: `ui_extension_host' has not been declared
foo_uie_fileinfo.h:217: error: ISO C++ forbids declaration of `p_host' with no type
foo_uie_fileinfo.h: In constructor `uie_trackinfo::uie_trackinfo()':
foo_uie_fileinfo.h:197: error: class `uie_trackinfo' does not have any field named `host'
foo_uie_fileinfo.h: In member function `virtual unsigned int uie_trackinfo::get_type() const':
foo_uie_fileinfo.h:205: error: `ui_extension_flag' has not been declared
foo_uie_fileinfo.h:205: error: `TYPE_PANEL' undeclared (first use this function)
foo_uie_fileinfo.h: In member function `virtual HWND__* uie_trackinfo::init_or_take_ownership(HWND__*, int*, cfg_var::read_config_helper*)':
foo_uie_fileinfo.h:221: error: `host' undeclared (first use this function)
foo_uie_fileinfo.h:230: error: 'class trackinfo_dialog' has no member named 'run_modeless'
foo_uie_fileinfo.h: In member function `virtual void uie_trackinfo::destroy_window()':
foo_uie_fileinfo.h:245: error: `host' undeclared (first use this function)
foo_uie_fileinfo.h: In member function `void uie_trackinfo::on_min_height_change()':
foo_uie_fileinfo.h:254: error: `host' undeclared (first use this function)
foo_uie_fileinfo.h:254: error: `ui_extension_flag' has not been declared
foo_uie_fileinfo.h:254: error: `SLC_MIN_HEIGHT' undeclared (first use this function)
foo_uie_fileinfo.h: At global scope:
foo_uie_fileinfo.h:256: error: expected init-declarator before '<' token
foo_uie_fileinfo.h:256: error: expected `,' or `;' before '<' token
foo_uie_fileinfo.h: In function `BOOL config_proc(HWND__*, UINT, WPARAM, LPARAM)':
foo_uie_fileinfo.h:335: error: `g_trackinfo' undeclared (first use this function)
foo_uie_fileinfo.h: In member function `virtual HRESULT IDropTarget_trackinfo::DragEnter(IDataObject*, DWORD, POINTL, DWORD*)':
foo_uie_fileinfo.h:468: error: `g_trackinfo' undeclared (first use this function)
foo_uie_fileinfo.h: In member function `virtual HRESULT IDropTarget_trackinfo::DragLeave()':
foo_uie_fileinfo.h:481: error: `g_trackinfo' undeclared (first use this function)
foo_uie_fileinfo.h: In member function `virtual HRESULT IDropTarget_trackinfo::Drop(IDataObject*, DWORD, POINTL, DWORD*)':
foo_uie_fileinfo.h:501: error: `g_trackinfo' undeclared (first use this function)
foo_uie_fileinfo.h:581:3: warning: no newline at end of file
foo_uie_fileinfo.cpp: In member function `virtual BOOL trackinfo_dialog::on_message(UINT, WPARAM, LPARAM)':
foo_uie_fileinfo.cpp:187: warning: converting of negative value `-0x000000001' to `DWORD'
foo_uie_fileinfo.cpp:196: error: `wnd' undeclared (first use this function)
foo_uie_fileinfo.cpp:285: warning: taking address of temporary
foo_uie_fileinfo.cpp:333: warning: taking address of temporary
foo_uie_fileinfo.cpp: In member function `void trackinfo_dialog::get_displayed_text(string_base&)':
foo_uie_fileinfo.cpp:443: error: `extra_items_helper' undeclared (first use this function)
foo_uie_fileinfo.cpp:443: error: expected `;' before "items"
foo_uie_fileinfo.cpp:446: error: `items' undeclared (first use this function)
foo_uie_fileinfo.cpp: In member function `void trackinfo_dialog::do_contextmenu(POINT)':
foo_uie_fileinfo.cpp:543: error: `wnd' undeclared (first use this function)
make.exe: *** [foo_uie_fileinfo.o] Error 1
Execution terminated
This is with NO changes by me. Just the plain files I downloaded. It wont create a .dll file unless I get rid of the foo_uie_fileinfo.cpp file and replace it with the resource.h file
All I am trying to do is create a component that is the exact same as track info, but with a different name... so I can run two instances of it.
Can anyone tell me what I am doing wrong
Thanks
moderation: Changed code to codebox to preserve forum layout.