Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
0638f847
Commit
0638f847
authored
11 years ago
by
Graham Madarasz
Browse files
Options
Downloads
Patches
Plain Diff
MAINT-2740 fix XUI callsites in debug mode
parent
2750e86b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/llui/llxuiparser.cpp
+4
-4
4 additions, 4 deletions
indra/llui/llxuiparser.cpp
with
4 additions
and
4 deletions
indra/llui/llxuiparser.cpp
+
4
−
4
View file @
0638f847
...
@@ -1310,7 +1310,7 @@ void LLXUIParser::parserWarning(const std::string& message)
...
@@ -1310,7 +1310,7 @@ void LLXUIParser::parserWarning(const std::string& message)
{
{
#ifdef LL_WINDOWS
#ifdef LL_WINDOWS
// use Visual Studo friendly formatting of output message for easy access to originating xml
// use Visual Studo friendly formatting of output message for easy access to originating xml
LL_WINDOWS_OUTPUT_DEBUG
(
utf8str_to_utf16str
(
llformat
(
"%s(%d):
\t
%s"
,
mCurFileName
.
c_str
(),
mCurReadNode
->
getLineNumber
(),
message
.
c_str
())));
LL_WINDOWS_OUTPUT_DEBUG
(
utf8str_to_utf16str
(
llformat
(
"%s(%d):
\t
%s"
,
mCurFileName
.
c_str
(),
mCurReadNode
->
getLineNumber
(),
message
.
c_str
()))
.
c_str
()
);
#else
#else
Parser
::
parserWarning
(
message
);
Parser
::
parserWarning
(
message
);
#endif
#endif
...
@@ -1319,7 +1319,7 @@ void LLXUIParser::parserWarning(const std::string& message)
...
@@ -1319,7 +1319,7 @@ void LLXUIParser::parserWarning(const std::string& message)
void
LLXUIParser
::
parserError
(
const
std
::
string
&
message
)
void
LLXUIParser
::
parserError
(
const
std
::
string
&
message
)
{
{
#ifdef LL_WINDOWS
#ifdef LL_WINDOWS
LL_WINDOWS_OUTPUT_DEBUG
(
utf8str_to_utf16str
(
llformat
(
"%s(%d):
\t
%s"
,
mCurFileName
.
c_str
(),
mCurReadNode
->
getLineNumber
(),
message
.
c_str
())));
LL_WINDOWS_OUTPUT_DEBUG
(
utf8str_to_utf16str
(
llformat
(
"%s(%d):
\t
%s"
,
mCurFileName
.
c_str
(),
mCurReadNode
->
getLineNumber
(),
message
.
c_str
()))
.
c_str
()
);
#else
#else
Parser
::
parserError
(
message
);
Parser
::
parserError
(
message
);
#endif
#endif
...
@@ -1637,7 +1637,7 @@ void LLSimpleXUIParser::parserWarning(const std::string& message)
...
@@ -1637,7 +1637,7 @@ void LLSimpleXUIParser::parserWarning(const std::string& message)
{
{
#ifdef LL_WINDOWS
#ifdef LL_WINDOWS
// use Visual Studo friendly formatting of output message for easy access to originating xml
// use Visual Studo friendly formatting of output message for easy access to originating xml
LL_WINDOWS_OUTPUT_DEBUG
(
utf8str_to_utf16str
(
llformat
(
"%s(%d):
\t
%s"
,
mCurFileName
.
c_str
(),
LINE_NUMBER_HERE
,
message
.
c_str
())));
LL_WINDOWS_OUTPUT_DEBUG
(
utf8str_to_utf16str
(
llformat
(
"%s(%d):
\t
%s"
,
mCurFileName
.
c_str
(),
LINE_NUMBER_HERE
,
message
.
c_str
()))
.
c_str
()
);
#else
#else
Parser
::
parserWarning
(
message
);
Parser
::
parserWarning
(
message
);
#endif
#endif
...
@@ -1646,7 +1646,7 @@ void LLSimpleXUIParser::parserWarning(const std::string& message)
...
@@ -1646,7 +1646,7 @@ void LLSimpleXUIParser::parserWarning(const std::string& message)
void
LLSimpleXUIParser
::
parserError
(
const
std
::
string
&
message
)
void
LLSimpleXUIParser
::
parserError
(
const
std
::
string
&
message
)
{
{
#ifdef LL_WINDOWS
#ifdef LL_WINDOWS
LL_WINDOWS_OUTPUT_DEBUG
(
utf8str_to_utf16str
(
llformat
(
"%s(%d):
\t
%s"
,
mCurFileName
.
c_str
(),
LINE_NUMBER_HERE
,
message
.
c_str
())));
LL_WINDOWS_OUTPUT_DEBUG
(
utf8str_to_utf16str
(
llformat
(
"%s(%d):
\t
%s"
,
mCurFileName
.
c_str
(),
LINE_NUMBER_HERE
,
message
.
c_str
()))
.
c_str
()
);
#else
#else
Parser
::
parserError
(
message
);
Parser
::
parserError
(
message
);
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment