warnings

    0熱度

    1回答

    我想要使用const FILE * fp倒帶,fscanf等等通常的東西,但我碰到c4090錯誤,我不是很理解它。 int search(const FILE *fp, int patt) { if (fp != NULL) { rewind(fp) //Getting c4090 warning //other statements } } 這似乎是

    1熱度

    2回答

    當我編譯mt19937ar.c,一個非常標準的隨機數生成器時,我不斷從一些我需要的代碼中獲取問題。 在函數 'init_genrand': 警告:轉換從 'INT' '長UNSIGNED INT' 可以改變結果的 /* Period parameters */ #define N 624 #define M 397 #define MATRIX_A 0x9908b0dfUL /* const

    2熱度

    1回答

    我試圖從核心數據中刪除和對象,我在下面的try catch內嘗試了它。 do { try self.managedContext.deleteObject(self.productList[indexPath.row]) } catch let error as NSError { print("something wrong with the delete : \(err

    0熱度

    1回答

    我想重寫一個抽象方法如下: abstract <C extends Comparable<C>> Map<String, Function<E, C>> getSortingMap(); 的方法覆蓋看起來像這樣: @Override Map<String, Function<Contract, Comparable<?>>> getSortingMap() { final Map<

    -1熱度

    2回答

    我想創建通過PHP這樣一個新的.txt文件: $file = 'students.txt'; // opens file to load the current content $current = file_get_contents($file); // add new content to file $current .= $_POST["name"]

    -2熱度

    3回答

    我寫了一個包含函數原型並導入到main.c文件中的頭文件!儘管它編譯和運行,我只收到1個函數的警告「隱式函數聲明」!沒有其他警告與在頭文件中聲明原型的其他函數有關!這是什麼原因?

    2熱度

    2回答

    我使用的是動態分配的首次,而編譯器給了我這個警告,我無法找到其他地方: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 有沒有辦法讓它desappear?我應該在乎嗎? 謝謝!

    0熱度

    1回答

    我在編譯和VS2015 Xcode中使用gcc我的遊戲引擎代碼 我用很多編譯我的代碼,只有GCC顯示警告: warning : missing terminating " character 代碼就像下面: #if 1 ... #else asm __volatile__(" some assembly code ... ":::); #e

    2熱度

    2回答

    我有,我需要知道一個提供可變長度的模板...... {{ prefix }} {{ prefix.length }} 它吐出來的是正確的信息,似乎工作很好,但它給出了這樣的警告: [Vue warn]: Error when evaluating expression "{ input_prefix: (prefix.length > 0)}": TypeError: Cannot read

    0熱度

    1回答

    警告類型在我project在Xcode,我的代碼總是有許多warning,我認爲有些是進口,有些不是我code實行進口: 比如一個類型是:xxx is deprecaetd in iOS 8.0 - Use xxx 另一種類型是:Undeclared selector 'respondsToTapLike' 或其他更多。 有這麼多類型的警告: 現在,我怎麼可以過濾Buildtime的warning