Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partially revert "General: Toss out PRI macro usage" #3003

Merged
merged 1 commit into from Sep 11, 2015

Conversation

lioncash
Copy link
Member

@lioncash lioncash commented Sep 8, 2015

Reverts #2961 because Linux and Windows can never just use the same formatting specifiers.

@phire
Copy link
Member

phire commented Sep 8, 2015

This is all windows fault.

LGTM

@JosJuice
Copy link
Member

LGTM (but needs to be rebased).

@Tilka
Copy link
Member

Tilka commented Sep 11, 2015

@lioncash I'd prefer if you didn't revert the %z changes.

@lioncash lioncash force-pushed the revert-2961-printf branch 2 times, most recently from 7b90e82 to 29157aa Compare September 11, 2015 13:37
@lioncash lioncash changed the title Revert "General: Toss out PRI macro usage" Partially revert "General: Toss out PRI macro usage" Sep 11, 2015
@@ -952,7 +950,7 @@ IPCCommandResult CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
if (!bSuccess)
{
PanicAlertT("IOCTL_ES_LAUNCH: Game tried to reload a title that is not available in your NAND dump\n"
"TitleID %016llx.\n Dolphin will likely hang now.", TitleID);
"TitleID %016" PRIx64".\n Dolphin will likely hang now.", TitleID);

This comment was marked as off-topic.

Tilka added a commit that referenced this pull request Sep 11, 2015
Partially revert "General: Toss out PRI macro usage"
@Tilka Tilka merged commit c07d672 into master Sep 11, 2015
@Tilka Tilka deleted the revert-2961-printf branch September 11, 2015 14:09
@CarlKenner
Copy link
Contributor

"The hh, j, z, and t length prefixes are not supported." - Visual Studio 2015 documentation.
https://msdn.microsoft.com/en-us/library/tcxf1dw6(v=vs.140).aspx

@shuffle2
Copy link
Contributor

Why did you revert this @lioncash ? The documentation is wrong here - it IS supported (i've checked).

@shuffle2
Copy link
Contributor

OK, I was responding to the context of Carl's comment, but his comment doesn't seem to have anything to do with this actual commit...

@lioncash
Copy link
Member Author

@CarlKenner z, etc, are in fact supported, otherwise VS 2015 would not suggest them as an amendment for formatting issues

e.g. from a project I've been working on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants