What means the following error: 

Compiling src/osd/winui/newui.cpp...
../../../../../src/osd/winui/newui.cpp:2343:19: error: expected unqualified-id
 2343 |                                                 const char *interface = image.image_interface();
      |                                                             ^
In file included from ../../../../../src/osd/winui/newui.cpp:15:
In file included from ../../../../../src/osd/winui/softwarelist.h:9:
In file included from ../../../../../src/osd/winui/swconfig.h:14:
In file included from ../../../../../src/osd/winui/winui.h:23:
In file included from ../../../../../src/osd/winui/directinput.h:11:
In file included from D:/1/msys64/mingw32/include/dinput.h:23:
In file included from D:/1/msys64/mingw32/include/objbase.h:164:
In file included from D:/1/msys64/mingw32/include/propidl.h:65:
In file included from D:/1/msys64/mingw32/include/oaidl.h:7:
D:/1/msys64/mingw32/include/rpc.h:12:19: note: expanded from macro 'interface'
   12 | #define interface struct
      |                   ^
../../../../../src/osd/winui/newui.cpp:2344:11: error: declaration of anonymous struct must be a definition
 2344 |                                                 if (interface && part.matches_interface(interface))
      |                                                     ^
In file included from ../../../../../src/osd/winui/newui.cpp:15:
In file included from ../../../../../src/osd/winui/softwarelist.h:9:
In file included from ../../../../../src/osd/winui/swconfig.h:14:
In file included from ../../../../../src/osd/winui/winui.h:23:
In file included from ../../../../../src/osd/winui/directinput.h:11:
In file included from D:/1/msys64/mingw32/include/dinput.h:23:
In file included from D:/1/msys64/mingw32/include/objbase.h:164:
In file included from D:/1/msys64/mingw32/include/propidl.h:65:
In file included from D:/1/msys64/mingw32/include/oaidl.h:7:
D:/1/msys64/mingw32/include/rpc.h:12:19: note: expanded from macro 'interface'
   12 | #define interface struct
      |                   ^
../../../../../src/osd/winui/newui.cpp:2344:57: error: type name requires a specifier or qualifier
 2344 |                                                 if (interface && part.matches_interface(interface))
      |                                                                                                   ^
../../../../../src/osd/winui/newui.cpp:2344:57: error: expected unqualified-id


This is the code:
	for (software_list_device &swlist : software_list_device_enumerator(window->machine().root_device()))
	{
		for (const software_info &swinfo : swlist.get_info())
		{
			const software_part &part = swinfo.parts().front();
			if (swlist.is_compatible(part) == SOFTWARE_IS_COMPATIBLE)
			{
				for (device_image_interface &image : image_interface_enumerator(window->machine().root_device()))
				{
					if (!image.user_loadable())
						continue;
					if (!has_software && (opt_name == image.instance_name()))
					{
						const char *interface = image.image_interface();
						if (interface && part.matches_interface(interface))
						{
							sl_dir = "\\" + swlist.list_name();
							has_software = true;
						}
					}
				}
			}
		}
	}