Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • samples
  • sample_util
  • SampleApplication.cpp
Find file
BlameHistoryPermalink
  • Yunchao He's avatar
    Fix a small build issue. · 128e536a
    Yunchao He authored Oct 11, 2017
    Strcmp in SampleApplication.cpp is a cstring function. So some
    compilers (at least the default gcc compiler in my Ubuntu 17.04)
    would think that strcmp is not declared and lead to build failure,
    even we have include <string> in header file.
    
    Now that we use std::string variable in SampleApplication.h, it is
    better to include <string> in that header file as what it is.
    Then add <string.h> to include cstring functions in .cpp file to
    fix the build issue.
    
    BUG=angleproject:2180
    
    Change-Id: Id97a6956480637c1218314c04d9b331031c7b911
    Reviewed-on: https://chromium-review.googlesource.com/711396Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Commit-Queue: Geoff Lang <geofflang@chromium.org>
    128e536a
SampleApplication.cpp 4.41 KB
EditWeb IDE
×

Replace SampleApplication.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.