» Home » Workaround » Page 1
How to workaround gcc-3.4 bug (or maybe this is not a bug)?
by JSebok in Programming Languages

Question


Following code fails with a error message :


t.cpp: In function `void test()':
t.cpp:35: error: expected primary-expression before '>' token
t.cpp:35: error: expected primary-expression before ')' token

Now I don't see any issues with the code and it compiles with gcc-4.x and MSVC 2005 but not with gcc-3.4 (which is still quit


Max-height workaround for IE9
by Rast in Web Design

In the photography portfolio linked below, clicking on individual images renders the photo at a max-height of 90% of the browser window. In Safari, Firefox, and Chrome. But IE9 seems to ignore this command entirely and the user must scroll to see any portrait oriented photo in its entirety.


I've googled workarounds, but haven't found any that apply to IE9. Mostly I found Javacript e


NSURLIsExcludedFromBackupKey workaround?
by 1sikbITCH in Operating Systems

Currently I have a method that looks like this to prevent a file from being backed up by iCloud:


- (BOOL)addSkipBackupAttributeToItemAtURL:(NSURL *)URL
{
const char* filePath = [[URL path] fileSystemRepresentation];
const char* attrName = "com.apple.MobileBackup";
if (&NSURLIsExcludedFromBackupKey == nil) {
// iOS 5.0.1 and lower
Need workaround for & in url, iis7
by Chook2330 in Programming Languages

I am moving old asp.net website from windows 2003 to windows 2008 R2.


Some pages have '&' in url and it works fine on 2003 but on 2008 any '&' before '?' gives 'Bad Request'.


Those pages have serious impact on website popularity, 7% of all visits start here, so it is important to handle them properly without changing url.
Any ideas how to handle such urls


Hibernate bug, how to workaround?
by James Dio in Programming Languages

I use Hibernate 3.5.3, and Oracle 10g database


I have bean with following relation


@OneToMany
@JoinTable(name="dispenser_accounts",
joinColumns=@JoinColumn(name="terminal_id"),
inverseJoinColumns=@JoinColumn(name="dispenser_section_id"))
@MapKey(name="dispenserNumber")
private Map<Integer, DispenserAccount> activeDispens

C# ref Polymorphism workaround
by ronansprake in Programming Languages

I've made a function in C#:


private void customShow(Form someForm, Type formType) {
if (someForm == null || someForm.IsDisposed) someForm = (Form)Activator.CreateInstance(formType);
someForm.StartPosition = FormStartPosition.CenterScreen;
someForm.MdiParent = this;
someForm.Show();
someForm.WindowState = FormWindowState.Maximized;

A workaround for SSL on Heroku
by HoagieMon in Programming Languages

Got an app running great on Heroku, only issue is that their custom-domain SSL solution is way expensive (http://docs.heroku.com/ssl), leaving piggybacking of their *.heroku.com as an only viable option. The good thing is that my app only requires SSL for a couple of pages (for ordering). Right now, I use "ssl_required" in my controller for those couple actions. Any idea on how to create a b


Any workaround for the use of the word 'new' in IE8?
by Meski in Development Tools & Services

Error in Ie8 when using the word 'new' in your object. I must use this word because I'm using
I'm trying to do something like that:


$(e.items.new).each(function(index) {
console.log(index)
});

In ie8 i'm getting this error: "Expected identifier". I think because of the use of 'new' save words.


Any chance to workaround? thanks

TAGS : workaround word

AuthCacheValue workaround
by in Programming Languages

I'm using an api to develop an android app, but it uses this line of code:


AuthCacheValue.setAuthCache(new AuthCacheImpl());

wich is from sun and is not available in android. Is there a way to workaround this issue?


Thanks in advance for the help.


Get-Childitem Workaround
by JackBurton in Network & Servers

I want to determine which files/filetypes consume most space on the fileserver. Due to the fact that alot of users created files with a name/path length over 260 char gci does not work.(shortcuts-in-shortcuts-in-shortcuts-infinity)


My next step was to create a workaround by using something that displays, size file name and path without max_path var limitation.(ROBOCOPY)



Next
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .