Bug 235589 - Build error String_literal_as_second_argument_to_i18n, databaseserver.cpp error
Summary: Build error String_literal_as_second_argument_to_i18n, databaseserver.cpp error
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-i18n (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-28 00:44 UTC by Mikkel Christensen
Modified: 2017-08-04 21:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.3.0


Attachments
Patch for databaseserver.cpp (2.87 KB, patch)
2010-04-28 00:47 UTC, Mikkel Christensen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikkel Christensen 2010-04-28 00:44:25 UTC
Version:           SVN revision 1119860 (using KDE 4.3.2)
Compiler:          gcc (Ubuntu 4.4.1-4ubuntu9) 4.4.1 
OS:                Linux
Installed from:    Ubuntu Packages

I get this build error and I was therefore unable to build:

String_literal_as_second_argument_to_i18n___Perhaps_you_need_i18nc_or_i18np’ is not a member of ‘I18nTypeCheck<char [16], 16>

I have fixed the offending calls and I am attaching a patch.
Comment 1 Mikkel Christensen 2010-04-28 00:47:23 UTC
Created attachment 43074 [details]
Patch for databaseserver.cpp

Fixed multi-argument strings that cause build failure.
Comment 2 Quallenauge 2010-04-28 12:06:06 UTC
Can you please try SVN rev r1119933?

Christoph had applied some fixes,
which corrects some i18n calls.
Comment 3 Mikkel Christensen 2010-04-28 12:53:19 UTC
I have inspected the changes in revision 1119933, and they are exactly the same as what I proposed in my patch. I have not tried to build revision 1119933 yet, but it will work, because it is not different from my own solution.

Best regards,
Mikkel