Changeset 202555 in webkit


Ignore:
Timestamp:
Jun 28, 2016 3:15:58 AM (8 years ago)
Author:
jh718.park@samsung.com
Message:

[JSC] Fix build break since r202502 - 2
https://bugs.webkit.org/show_bug.cgi?id=159194

Reviewed by Gyuyoung Kim.

Fix about the error message below.
error: control reaches end of non-void function [-Werror=return-type]

  • b3/B3TypeMap.h: add #pragma GCC diagnostic ignored "-Wreturn-type".
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r202553 r202555  
     12016-06-28  Joonghun Park  <jh718.park@samsung.com>
     2
     3        [JSC] Fix build break since r202502 - 2
     4        https://bugs.webkit.org/show_bug.cgi?id=159194
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        Fix about the error message below.
     9        error: control reaches end of non-void function [-Werror=return-type]
     10
     11        * b3/B3TypeMap.h: add #pragma GCC diagnostic ignored "-Wreturn-type".
     12
    1132016-06-28  Joonghun Park  <jh718.park@samsung.com>
    214
  • trunk/Source/JavaScriptCore/b3/B3TypeMap.h

    r202553 r202555  
    3131#include "B3Type.h"
    3232#include <wtf/PrintStream.h>
     33
     34#if COMPILER(GCC) && ASSERT_DISABLED
     35#pragma GCC diagnostic push
     36#pragma GCC diagnostic ignored "-Wreturn-type"
     37#endif // COMPILER(GCC) && ASSERT_DISABLED
    3338
    3439namespace JSC { namespace B3 {
     
    98103} } // namespace JSC::B3
    99104
     105#if COMPILER(GCC) && ASSERT_DISABLED
     106#pragma GCC diagnostic pop
     107#endif // COMPILER(GCC) && ASSERT_DISABLED
     108
    100109#endif // ENABLE(B3_JIT)
    101110
Note: See TracChangeset for help on using the changeset viewer.