Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-4386

agl-service-ss-resourcemanager: compilation error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • None
    • master
    • None
    • None

      There is a build issue that we need to resolve:

      | ./src/resm.cpp: In function 'void exec_perf_Resourcemanagerlog_Perf_Data(char*, char*, pid_t*)':
      
      | ./src/resm.cpp:1900:41: error: ordered comparison of pointer with integer zero ('char*' and 'int')
      
      |  1900 |     while (fgets(buf, sizeof(buf), rfd) > 0) {
      
      |       |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
      
      | ./src/resm.cpp: In function 'int write_cpuinfo_work(FILE*)':
      
      | ./src/resm.cpp:2494:47: error: ordered comparison of pointer with integer zero ('char*' and 'int')
      
      |  2494 |         while (fgets(buf, sizeof(buf), stdin) > 0) {
      
      
       

       

      To reproduce checkout current master and build with agl-basesystem enabled.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            mdate00 Mitsuo Date
            jsmoeller Jan-Simon Moeller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: