ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 10975] New: ui/qt/simple_dialog.cpp primary_delimiter_ val

Date: Wed, 18 Feb 2015 14:57:54 +0000
Bug ID 10975
Summary ui/qt/simple_dialog.cpp primary_delimiter_ value error
Product Wireshark
Version 1.99.x (Experimental)
Hardware x86
OS Solaris
Status UNCONFIRMED
Severity Major
Priority Low
Component Qt UI
Assignee [email protected]
Reporter [email protected]

Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
Solaris Studio error:

"simple_dialog.cpp", line 55: Error: The value of '\uffff' is too large to fit
in a character.

Following change seems to fix the issue:

--- wireshark-1.99.2/ui/qt/simple_dialog.cpp.orig  2015-02-18
06:19:38.998251720 -0800
+++ wireshark-1.99.2/ui/qt/simple_dialog.cpp       2015-02-18
06:51:39.800290581 -0800
@@ -52,7 +52,7 @@
 // Disable "warning C4566: character represented by universal-character-name
'\uFFFF' cannot be represented in the current code page (1252)"
 #pragma warning(disable:4566)
 #endif
-const char *primary_delimiter_ = "\uffff";
+const char *primary_delimiter_ = "\xff""\xff";
 #ifdef _MSC_VER
 #pragma warning(pop)
 #endif


You are receiving this mail because:
  • You are watching all bug changes.